ci: conditionally set jest reporter
This commit is contained in:
@@ -18,4 +18,8 @@ const customJestConfig = {
|
||||
verbose: true,
|
||||
}
|
||||
|
||||
if (process.env.CI) {
|
||||
customJestConfig.reporters = [['github-actions', { silent: false }], 'summary']
|
||||
}
|
||||
|
||||
export default customJestConfig
|
||||
|
||||
Reference in New Issue
Block a user