]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
workflow: fix release script for pnpm 7 [ci skip]
authorEvan You <yyx990803@gmail.com>
Tue, 17 May 2022 04:47:43 +0000 (12:47 +0800)
committerEvan You <yyx990803@gmail.com>
Tue, 17 May 2022 04:47:43 +0000 (12:47 +0800)
scripts/release.js

index 05f05f76a19ef12925f3bc39aff751bd9c4f3a3b..b47f075bcd8dd8f3338e50d954befdbf0dd05bf3 100644 (file)
@@ -80,7 +80,7 @@ async function main() {
   step('\nRunning tests...')
   if (!skipTests && !isDryRun) {
     await run(bin('jest'), ['--clearCache'])
-    await run('pnpm', ['test', '--', '--bail'])
+    await run('pnpm', ['test', '--bail'])
   } else {
     console.log(`(skipped)`)
   }
@@ -92,7 +92,7 @@ async function main() {
   // build all packages with types
   step('\nBuilding all packages...')
   if (!skipBuild && !isDryRun) {
-    await run('pnpm', ['run', 'build', '--', '--release'])
+    await run('pnpm', ['run', 'build', '--release'])
     // test generated dts files
     step('\nVerifying type declarations...')
     await run('pnpm', ['run', 'test-dts-only'])