Ver Fonte

build: run tests in serial for release

Evan You há 6 anos atrás
pai
commit
c017073f4c
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      scripts/release.js

+ 1 - 1
scripts/release.js

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