ci: conditionally set jest reporter
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user