Skip to content

Commit d46c190

Browse files
committed
Disable pre- and post-publish actions on CI
1 parent 5495296 commit d46c190

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ jobs:
8080
- uses: actions/setup-node@v1
8181
with:
8282
node-version: 14.x
83+
- name: Disable pre- and post-publish actions
84+
run: 'sed -i -E "s/\"((pre|post)publish)/\"ignore:\1/" package.json'
8385
- uses: JS-DevTools/npm-publish@v1
8486
with:
8587
token: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)