Skip to content

Commit 914a02e

Browse files
authored
ci: generate provenance statements when release (#18)
1 parent b25c563 commit 914a02e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release-please.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ jobs:
99
permissions:
1010
contents: write
1111
pull-requests: write
12+
id-token: write
1213
steps:
1314
- uses: google-github-actions/release-please-action@v3
1415
id: release
@@ -35,7 +36,7 @@ jobs:
3536
node-version: lts/*
3637
registry-url: https://registry.npmjs.org
3738
if: ${{ steps.release.outputs.release_created }}
38-
- run: npm publish
39+
- run: npm publish --provenance
3940
env:
4041
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4142
if: ${{ steps.release.outputs.release_created }}

0 commit comments

Comments
 (0)