ci(publish-npm): remove --ignore-scripts from publish command
Allow lifecycle scripts to run during npm publish for both actual and dry-run releases. Signed-off-by: 林凯90331 <90331@sangfor.com> Co-authored-by: CoStrict <zgsm@sangfor.com.cn>
This commit is contained in:
parent
675ebea846
commit
0641c2857f
4
.github/workflows/publish-npm.yml
vendored
4
.github/workflows/publish-npm.yml
vendored
|
|
@ -112,13 +112,13 @@ jobs:
|
|||
|
||||
- name: Publish to npm
|
||||
if: ${{ github.event.inputs.dry_run != 'true' }}
|
||||
run: npm publish --provenance --access public --ignore-scripts
|
||||
run: npm publish --provenance --access public
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
- name: Publish to npm (dry-run)
|
||||
if: ${{ github.event.inputs.dry_run == 'true' }}
|
||||
run: npm publish --dry-run --provenance --access public --ignore-scripts
|
||||
run: npm publish --dry-run --provenance --access public
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user