Skip to content

Commit d0bd16c

Browse files
authored
Merge pull request #96 from github/gracepark-patch-1
Update publish.yml
2 parents e80f3e1 + bb5eba3 commit d0bd16c

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: 14
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)