Skip to content

Commit

Permalink
ci: add npm provenance
Browse files Browse the repository at this point in the history
  • Loading branch information
chybisov committed Aug 8, 2024
1 parent 0048f08 commit c51889c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ jobs:
prerelease: false

publish:
permissions:
contents: write
id-token: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -41,3 +44,4 @@ jobs:
${{ contains(github.ref_name, 'alpha') && '--tag alpha' || contains(github.ref_name, 'beta') && '--tag beta' || '' }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_PROVENANCE: true

0 comments on commit c51889c

Please sign in to comment.