Skip to content

Commit

Permalink
chore: add provenance statements in package
Browse files Browse the repository at this point in the history
  • Loading branch information
rwv committed Aug 1, 2024
1 parent eaccf9f commit 603cd55
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ jobs:
if: github.event_name == 'release' && github.event.action == 'published'
runs-on: ubuntu-latest
needs: test
permissions:
contents: read
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -60,7 +63,7 @@ jobs:
- name: Install dependencies
run: pnpm install

- run: pnpm publish --no-git-checks
- run: pnpm publish --provenance --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

Expand Down

0 comments on commit 603cd55

Please sign in to comment.