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