Skip to content

Commit 76f5460

Browse files
authored
fix(releasing): pre-publish scripts should also be dry-runable (#31)
1 parent b159248 commit 76f5460

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ jobs:
115115
run: |
116116
npm config set access public
117117
npm config set provenance true
118-
pnpm napi pre-publish --no-gh-release -t npm
118+
pnpm napi pre-publish --no-gh-release -t npm ${{ inputs.dry-run && '--dry-run' || '' }}
119119
working-directory: ${{ steps.napi-info.outputs.binding-directory }}
120120
env:
121121
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)