Skip to content

Commit 74d1cfe

Browse files
authored
chore: add npm provenance to publishing (#2321)
1 parent a65b616 commit 74d1cfe

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
4141
permissions:
4242
contents: write
4343
pull-requests: write
44+
id-token: write
4445

4546
steps:
4647
- uses: actions/checkout@v5
@@ -51,7 +52,7 @@ jobs:
5152
registry-url: 'https://registry.npmjs.org'
5253
- uses: pnpm/action-setup@v4
5354
- run: pnpm install --frozen-lockfile
54-
- name: npm publish
55+
- name: npm publish --provenance
5556
run: pnpm release-plan publish
5657
env:
5758
GITHUB_AUTH: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)