Skip to content

Commit

Permalink
ci: npm generate provenance
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpza committed Aug 8, 2024
1 parent 338dc87 commit 2b01c26
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
tags:
- v*.*.*

permissions:
id-token: write

jobs:
publish:
runs-on: ubuntu-latest
Expand All @@ -31,7 +34,7 @@ jobs:
run: npx extract-changelog-release > RELEASE_BODY.md

- name: Publish to NPM
run: yarn npm publish
run: npm publish --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down

0 comments on commit 2b01c26

Please sign in to comment.