We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 212c2e2 + ad77067 commit 150c399Copy full SHA for 150c399
1 file changed
.github/workflows/publish.yml
@@ -6,7 +6,7 @@ on:
6
7
permissions:
8
contents: read
9
- packages: write
+ id-token: write # for provenance and publish access
10
11
jobs:
12
publish-npm:
@@ -22,6 +22,4 @@ jobs:
22
- run: npm version ${TAG_NAME} --git-tag-version=false --allow-same-version
23
env:
24
TAG_NAME: ${{ github.event.release.tag_name }}
25
- - run: npm whoami; npm publish --access public
26
- env:
27
- NODE_AUTH_TOKEN: ${{ secrets.npm_token }}
+ - run: npm publish --access public --provenance
0 commit comments