Skip to content

Commit 4aeba00

Browse files
authored
Merge pull request #772 from bergie/publish_only_if_new
NPM Publish only if new
2 parents eac05c2 + 4613d7d commit 4aeba00

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,9 @@ jobs:
9292
- name: Build JavaScript module
9393
run: npm run build
9494
- name: Publish NPM package
95-
run: npm publish
96-
env:
97-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
95+
uses: JS-DevTools/npm-publish@v3
96+
with:
97+
token: ${{ secrets.NPM_TOKEN }}
9898

9999
publish-cargo:
100100
runs-on: ubuntu-24.04

0 commit comments

Comments
 (0)