Skip to content

Commit ff98f69

Browse files
authored
Update GitHub Actions workflow for NPM publishing
1 parent f7f131c commit ff98f69

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/publish.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
publish-npm:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v6
15-
- uses: actions/setup-node@v6
14+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
15+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
1616
with:
17-
node-version: 22
17+
node-version: 24
1818
registry-url: https://registry.npmjs.org/
1919
cache: npm
2020
- run: npm ci
@@ -24,6 +24,4 @@ jobs:
2424
npm version ${TAG_NAME} --git-tag-version=false
2525
env:
2626
TAG_NAME: ${{github.event.release.tag_name}}
27-
- run: npm whoami; npm --ignore-scripts publish --provenance
28-
env:
29-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
27+
- run: npm --ignore-scripts publish --provenance

0 commit comments

Comments
 (0)