Skip to content

Commit

Permalink
Add GitHub provenance for publishing (#345)
Browse files Browse the repository at this point in the history
  • Loading branch information
dcousens authored Dec 28, 2023
1 parent 28ea73f commit 942db49
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Release
on:
workflow_dispatch:

permissions:
id-token: write

jobs:
publish:
name: Publish package to NPM
Expand All @@ -27,3 +30,4 @@ jobs:
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_PROVENANCE: true

0 comments on commit 942db49

Please sign in to comment.