Skip to content

Commit d801a83

Browse files
committed
Enable provenance when publishing
1 parent cc6ad32 commit d801a83

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: .github/workflows/publish.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
permissions:
1111
contents: read
12+
id-token: write
1213
steps:
1314
- uses: actions/checkout@v4
1415
- uses: actions/setup-node@v4
@@ -21,6 +22,6 @@ jobs:
2122
- run: npm version ${TAG_NAME} --git-tag-version=false
2223
env:
2324
TAG_NAME: ${{ github.event.release.tag_name }}
24-
- run: npm whoami; npm --ignore-scripts publish
25+
- run: npm whoami; npm --ignore-scripts publish --provenance
2526
env:
2627
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 commit comments

Comments
 (0)