From ff55cfa001fe8f4d6b7db11e193dc20516f4b007 Mon Sep 17 00:00:00 2001 From: Elliot DeNolf Date: Tue, 26 Mar 2024 17:33:43 -0400 Subject: [PATCH] ci: conditionally set jest reporter --- jest.config.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/jest.config.js b/jest.config.js index 4fdd9ba2d1..63a691389c 100644 --- a/jest.config.js +++ b/jest.config.js @@ -18,4 +18,8 @@ const customJestConfig = { verbose: true, } +if (process.env.CI) { + customJestConfig.reporters = [['github-actions', { silent: false }], 'summary'] +} + export default customJestConfig