Skip to content

Commit 686109f

Browse files
committed
Update publish-npm.yml
1 parent 2d34261 commit 686109f

1 file changed

Lines changed: 2 additions & 9 deletions

File tree

‎.github/workflows/publish-npm.yml‎

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,8 @@ jobs:
2222
- name: Setup Node.js
2323
uses: actions/setup-node@v6
2424
with:
25-
node-version: 20
25+
node-version: 24
2626
registry-url: https://registry.npmjs.org/
27-
cache: npm
2827

2928
- name: Sync package.json version from release tag
3029
if: github.event_name == 'release'
@@ -60,13 +59,7 @@ jobs:
6059
run: npm test
6160

6261
- name: Publish
63-
env:
64-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
65-
NPM_CONFIG_PROVENANCE_SOURCE_REPOSITORY: https://github.com/${{ github.repository }}
66-
NPM_CONFIG_PROVENANCE_SOURCE_REPOSITORY_REF: ${{ github.ref }}
67-
NPM_CONFIG_PROVENANCE_SOURCE_REPOSITORY_COMMIT: ${{ github.sha }}
68-
NPM_CONFIG_PROVENANCE_SOURCE_REPOSITORY_URL: https://github.com/${{ github.repository }}
69-
run: npm publish --access public --provenance
62+
run: npm publish --access public
7063

7164
- name: Commit synced version back to repository
7265
if: github.event_name == 'release'

0 commit comments

Comments
 (0)