Skip to content

Commit 333805b

Browse files
committed
fix(ci): use npm trusted publishing provenance
1 parent 7abff94 commit 333805b

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ jobs:
4646
name: Publish to npm
4747
runs-on: ubuntu-latest
4848
needs: quality
49+
permissions:
50+
contents: read
51+
id-token: write
4952

5053
steps:
5154
- name: Checkout
@@ -82,4 +85,4 @@ jobs:
8285
run: bun run build
8386

8487
- name: Publish package
85-
run: npm publish --access public
88+
run: npm publish --provenance --access public

0 commit comments

Comments
 (0)