Skip to content

Commit

Permalink
ci: generate provenance statements when release (#222)
Browse files Browse the repository at this point in the history
  • Loading branch information
kecrily authored Jul 15, 2023
1 parent 311c626 commit 30ae649
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
permissions:
contents: write
pull-requests: write
id-token: write
steps:
- uses: google-github-actions/release-please-action@v3
id: release
Expand All @@ -35,7 +36,7 @@ jobs:
node-version: lts/*
registry-url: https://registry.npmjs.org
if: ${{ steps.release.outputs.release_created }}
- run: npm publish
- run: npm publish --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
if: ${{ steps.release.outputs.release_created }}
Expand Down

0 comments on commit 30ae649

Please sign in to comment.