diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 48f788b..1122156 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -59,7 +59,7 @@ jobs: run: 'sed -i -E "s/(\"version\": *\"[^\"]+)/\1-${GITHUB_SHA_SHORT}/" package.json' - name: Disable pre- and post-publish actions run: 'sed -i -E "s/\"((pre|post)publish)/\"ignore:\1/" package.json' - - uses: JS-DevTools/npm-publish@v1 + - uses: JS-DevTools/npm-publish@v4 if: github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]' with: token: ${{ secrets.NPM_TOKEN }} @@ -78,7 +78,7 @@ jobs: node-version: 20.x - name: Disable pre- and post-publish actions run: 'sed -i -E "s/\"((pre|post)publish)/\"ignore:\1/" package.json' - - uses: JS-DevTools/npm-publish@v1 + - uses: JS-DevTools/npm-publish@v4 if: github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]' with: token: ${{ secrets.NPM_TOKEN }}