chore: bail early on release test run
This commit is contained in:
parent
24b35237a0
commit
290e494292
@ -78,7 +78,7 @@ async function main() {
|
|||||||
step('\nRunning tests...')
|
step('\nRunning tests...')
|
||||||
if (!skipTests && !isDryRun) {
|
if (!skipTests && !isDryRun) {
|
||||||
await run(bin('jest'), ['--clearCache'])
|
await run(bin('jest'), ['--clearCache'])
|
||||||
await run('yarn', ['test'])
|
await run('yarn', ['test', '--bail'])
|
||||||
} else {
|
} else {
|
||||||
console.log(`(skipped)`)
|
console.log(`(skipped)`)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user