Skip to content

Commit 4541f1c

Browse files
authored
Merge pull request #94 from github/gp/oidc-migration
Update publish workflow to use Node.js v24 and new actions
2 parents 5fecf39 + f0feee3 commit 4541f1c

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/publish.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,17 @@ jobs:
99
runs-on: ubuntu-latest
1010
permissions:
1111
contents: read
12+
id-token: write
1213
steps:
13-
- uses: actions/checkout@v3
14-
- uses: actions/setup-node@v3
14+
- uses: actions/checkout@v4
15+
- uses: actions/setup-node@v4
1516
with:
16-
node-version: 18
17+
node-version: 24
1718
registry-url: https://registry.npmjs.org/
1819
cache: npm
1920
- run: npm ci
2021
- run: npm test
2122
- run: npm version ${TAG_NAME} --git-tag-version=false
2223
env:
2324
TAG_NAME: ${{ github.event.release.tag_name }}
24-
- run: npm whoami; npm --ignore-scripts publish
25-
env:
26-
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
25+
- run: npm --ignore-scripts publish --provenance

0 commit comments

Comments
 (0)