Skip to content

Commit

Permalink
chore(workflows): use provenance
Browse files Browse the repository at this point in the history
  • Loading branch information
Snazzah committed Nov 13, 2023
1 parent aea54f3 commit 99feba4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ jobs:
name: Publish on NPM
runs-on: ubuntu-latest

permissions:
contents: read
id-token: write

steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -103,7 +107,7 @@ jobs:
- name: Install dependencies
run: pnpm install --frozen-lockfile

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

Expand Down

0 comments on commit 99feba4

Please sign in to comment.