Skip to content

Commit 908dbb1

Browse files
committed
Enable provenance when publishing
1 parent f9bccca commit 908dbb1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/publish.yml

+2-1
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:
@@ -24,6 +25,6 @@ jobs:
2425
- run: npm version ${TAG_NAME} --git-tag-version=false
2526
env:
2627
TAG_NAME: ${{ github.event.release.tag_name }}
27-
- run: npm whoami; npm --ignore-scripts publish
28+
- run: npm whoami; npm --ignore-scripts publish --provenance
2829
env:
2930
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 commit comments

Comments
 (0)