Procházet zdrojové kódy

chore: bail early on release test run

Evan You před 5 roky
rodič
revize
290e494292
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      scripts/release.js

+ 1 - 1
scripts/release.js

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