chore: bail early on release test run

This commit is contained in:
Evan You 2021-03-01 10:55:39 -05:00
parent 24b35237a0
commit 290e494292

View File

@ -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)`)
} }