build: run tests in serial for release

This commit is contained in:
Evan You 2020-04-03 21:40:40 -04:00
parent e42cb54394
commit c017073f4c

View File

@ -79,7 +79,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', '--runInBand'])
} else { } else {
console.log(`(skipped)`) console.log(`(skipped)`)
} }