Skip to content

Commit 56e1af3

Browse files
authored
fix(ci): configure registry-url and update npm for OIDC publishing (#2)
The OIDC token exchange succeeded during verification but failed during publish with ENEEDAUTH. This fix: - Adds registry-url to setup-node action to properly configure OIDC context - Updates npm to latest version to ensure OIDC trusted publishing support See: npm/cli#8730
1 parent 794ae5c commit 56e1af3

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,12 @@ jobs:
3030
uses: actions/setup-node@v6
3131
with:
3232
node-version: 22
33+
registry-url: 'https://registry.npmjs.org'
3334
cache: 'pnpm'
3435

36+
- name: Update npm to latest
37+
run: npm install -g npm@latest
38+
3539
- name: Install dependencies
3640
run: pnpm install --frozen-lockfile
3741

0 commit comments

Comments
 (0)