Skip to content

Commit 07aed5d

Browse files
committed
enable npm provenance
1 parent f1325a2 commit 07aed5d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ jobs:
99
npm:
1010
name: Publish to NPM
1111
runs-on: ubuntu-latest
12+
permissions:
13+
id-token: write
1214
steps:
1315
- uses: actions/checkout@v4
1416
- uses: actions/setup-node@v4
@@ -22,3 +24,4 @@ jobs:
2224
- run: pnpm publish --no-git-checks
2325
env:
2426
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
27+
NPM_CONFIG_PROVENANCE: true

0 commit comments

Comments
 (0)