Skip to content

Commit cd8c384

Browse files
committed
npm publish --ignore-scripts
1 parent 536f6f8 commit cd8c384

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
run: 'sed -i -E "s/\"((pre|post)publish)/\"ignore:\1/" package.json'
7878
- name: Publish to npm
7979
if: github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]'
80-
run: npm publish --tag ${{ env.GITHUB_REF_SLUG }}
80+
run: npm publish --tag ${{ env.GITHUB_REF_SLUG }} --ignore-scripts
8181

8282
npm-publish-latest:
8383
needs: [build, npm-publish-build]
@@ -100,4 +100,4 @@ jobs:
100100
run: 'sed -i -E "s/\"((pre|post)publish)/\"ignore:\1/" package.json'
101101
- name: Publish to npm
102102
if: github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]'
103-
run: npm publish --tag latest
103+
run: npm publish --tag latest --ignore-scripts

0 commit comments

Comments
 (0)