Skip to content

Commit bc0020e

Browse files
authored
Merge pull request #88 from github/gp/oidc-migration
Update publish workflow to include provenance flag
2 parents 10c4c0d + d4aa2e9 commit bc0020e

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66

77
permissions:
88
contents: read
9+
id-token: write
910

1011
jobs:
1112
publish-npm:
@@ -22,6 +23,4 @@ jobs:
2223
- run: npm version ${TAG_NAME} --git-tag-version=false
2324
env:
2425
TAG_NAME: ${{ github.event.release.tag_name }}
25-
- run: npm whoami; npm --ignore-scripts publish
26-
env:
27-
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
26+
- run: npm --ignore-scripts publish --provenance

0 commit comments

Comments
 (0)