ci: conditionally set jest reporter

This commit is contained in:
Elliot DeNolf
2024-03-26 17:33:43 -04:00
parent 623a3d3b7b
commit ff55cfa001

View File

@@ -18,4 +18,8 @@ const customJestConfig = {
verbose: true, verbose: true,
} }
if (process.env.CI) {
customJestConfig.reporters = [['github-actions', { silent: false }], 'summary']
}
export default customJestConfig export default customJestConfig