Skip to content

Commit fc931e6

Browse files
authored
Merge pull request #36 from github/dg/provenance
Publish with provenance
2 parents a8558ee + 5fa06f7 commit fc931e6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
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,6 @@ 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+
- run: npm whoami; npm --ignore-scripts publish --provenance
2627
env:
2728
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 commit comments

Comments
 (0)