Skip to content

Commit 739af3d

Browse files
committed
workflow: fix release script for pnpm 7 [ci skip]
1 parent 77fef97 commit 739af3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/release.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ async function main() {
8080
step('\nRunning tests...')
8181
if (!skipTests && !isDryRun) {
8282
await run(bin('jest'), ['--clearCache'])
83-
await run('pnpm', ['test', '--', '--bail'])
83+
await run('pnpm', ['test', '--bail'])
8484
} else {
8585
console.log(`(skipped)`)
8686
}
@@ -92,7 +92,7 @@ async function main() {
9292
// build all packages with types
9393
step('\nBuilding all packages...')
9494
if (!skipBuild && !isDryRun) {
95-
await run('pnpm', ['run', 'build', '--', '--release'])
95+
await run('pnpm', ['run', 'build', '--release'])
9696
// test generated dts files
9797
step('\nVerifying type declarations...')
9898
await run('pnpm', ['run', 'test-dts-only'])

0 commit comments

Comments
 (0)