Skip to content

Commit

Permalink
ci: generates provenance statements
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinhermawan committed Sep 12, 2023
1 parent 0826774 commit 9871e5d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write

steps:
- uses: actions/checkout@v3
Expand All @@ -24,6 +27,6 @@ jobs:
run: npm run build

- name: Release package
run: npm publish --verbose --access public
run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 9871e5d

Please sign in to comment.