Skip to content

Commit

Permalink
ci: enable provenance statement generation
Browse files Browse the repository at this point in the history
  • Loading branch information
gamemaker1 committed Oct 8, 2023
1 parent 66224e1 commit 15cc614
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ jobs:
needs: [lint, test-library]
if: startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- name: Checkout the repository
uses: actions/checkout@v3
Expand All @@ -57,7 +59,7 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Publish package to NPM
run: npm publish
run: npm publish --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Build package to upload to GitHub releases
Expand Down

0 comments on commit 15cc614

Please sign in to comment.