Skip to content

Commit

Permalink
chore: bail early on release test run
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Mar 1, 2021
1 parent 24b3523 commit 290e494
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ async function main() {
step('\nRunning tests...')
if (!skipTests && !isDryRun) {
await run(bin('jest'), ['--clearCache'])
await run('yarn', ['test'])
await run('yarn', ['test', '--bail'])
} else {
console.log(`(skipped)`)
}
Expand Down

0 comments on commit 290e494

Please sign in to comment.