Skip to content

Commit

Permalink
ci(release): added provenance during publish
Browse files Browse the repository at this point in the history
  • Loading branch information
H4ad committed Dec 22, 2023
1 parent d60184f commit 1161e42
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
permissions:
contents: write
pull-requests: write
id-token: write

jobs:
release-please:
Expand Down Expand Up @@ -40,7 +41,7 @@ jobs:
run: npm run coverage

- name: NPM Publish
run: npm publish
run: npm publish --provenance --access public
if: ${{ steps.release.outputs.release_created }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 1161e42

Please sign in to comment.