Skip to content

Commit 3dc03a8

Browse files
committed
ci: add --provenance flag for Trusted Publishers OIDC auth
1 parent 57ff4f9 commit 3dc03a8

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@ jobs:
2525
registry-url: 'https://registry.npmjs.org'
2626
cache: 'pnpm'
2727

28+
- name: Update npm
29+
run: npm install -g npm@latest
30+
2831
- run: pnpm install --frozen-lockfile
2932
- run: pnpm run build
3033
- run: pnpm test
31-
- run: npm publish
34+
- run: npm publish --provenance --access public

0 commit comments

Comments
 (0)