Skip to content

Commit

Permalink
Publish with provenance
Browse files Browse the repository at this point in the history
  • Loading branch information
dgreif committed Oct 14, 2024
1 parent a8558ee commit 5fa06f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:

permissions:
contents: read
id-token: write

jobs:
publish-npm:
Expand All @@ -22,6 +23,6 @@ jobs:
- run: npm version ${TAG_NAME} --git-tag-version=false
env:
TAG_NAME: ${{ github.event.release.tag_name }}
- run: npm whoami; npm --ignore-scripts publish
- run: npm whoami; npm --ignore-scripts publish --provenance
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 comments on commit 5fa06f7

Please sign in to comment.