Skip to content

Commit f62472e

Browse files
committed
ci: configure npm registry and provenance for OIDC publish
1 parent 2720a7c commit f62472e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
with:
3131
node-version: 18
3232
cache: "pnpm"
33+
registry-url: "https://registry.npmjs.org"
3334

3435
- name: Setup Rust
3536
uses: actions-rs/toolchain@v1
@@ -56,3 +57,5 @@ jobs:
5657
title: "chore: release packages"
5758
env:
5859
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
60+
NPM_CONFIG_PROVENANCE: true
61+
NPM_CONFIG_ACCESS: public

0 commit comments

Comments
 (0)