Skip to content

Commit e30b4b4

Browse files
authored
Upgrade npm-publish workflow and Node.js version
Updated GitHub Actions workflow to use newer action versions and Node.js 24.
1 parent 6d04200 commit e30b4b4

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

.github/workflows/npm-publish.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,19 @@ on:
77
release:
88
types: [created]
99

10+
permissions:
11+
id-token: write
12+
contents: read
13+
1014
jobs:
1115
publish-npm:
1216
runs-on: ubuntu-latest
1317
steps:
14-
- uses: actions/checkout@v3
15-
- uses: actions/setup-node@v3
18+
- uses: actions/checkout@v4
19+
- uses: actions/setup-node@v4
1620
with:
17-
node-version: 16
21+
node-version: '24'
1822
registry-url: https://registry.npmjs.org/
1923
- run: npm ci
2024
- run: npm run build
2125
- run: npm publish
22-
env:
23-
NODE_AUTH_TOKEN: ${{secrets.NPM_SECRET}}

0 commit comments

Comments
 (0)