Skip to content

Commit 832107d

Browse files
nam-hleclaude
andcommitted
fix: configure npm registry and auth for OIDC provenance publishing
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 0725216 commit 832107d

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/actions/setup/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ runs:
1919
with:
2020
node-version: ${{ inputs.node-version }}
2121
cache: pnpm
22+
registry-url: https://registry.npmjs.org
2223

2324
- name: Install dependencies
2425
run: pnpm install

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ jobs:
3838
- name: Publish to npm
3939
if: ${{ !startsWith(github.ref_name, 'vscode-extension/') }}
4040
run: pnpm --filter "./packages/${{ steps.parse-tag.outputs.package }}" publish --no-git-checks --provenance
41+
env:
42+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4143

4244
- name: Publish VS Code Extension
4345
if: startsWith(github.ref_name, 'vscode-extension/')

0 commit comments

Comments
 (0)