Browse Source

chore: fix local test run mode in release script

Evan You 2 years ago
parent
commit
159efa9d73
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scripts/release.js

+ 1 - 1
scripts/release.js

@@ -239,7 +239,7 @@ async function main() {
   if (!skipTests) {
   if (!skipTests) {
     step('\nRunning tests...')
     step('\nRunning tests...')
     if (!isDryRun) {
     if (!isDryRun) {
-      await run('pnpm', ['run', 'test'])
+      await run('pnpm', ['run', 'test', '--run'])
     } else {
     } else {
       console.log(`Skipped (dry run)`)
       console.log(`Skipped (dry run)`)
     }
     }