Skip to content

Commit

Permalink
feat: provenance deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurfiorette committed May 22, 2024
1 parent cb91522 commit bd8ec70
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
types: [published]
workflow_dispatch:

permissions:
id-token: write

jobs:
publish:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -33,6 +36,6 @@ jobs:
run: pnpm run build

- name: Publish to NPM
run: pnpm publish --access public --no-git-checks
run: pnpm publish --access public --no-git-checks --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit bd8ec70

Please sign in to comment.