Skip to content

Commit 61b8d6e

Browse files
wrn14897claude
andauthored
Fix npm OIDC trusted publishing and upgrade Node to v25 (#223)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 99c3071 commit 61b8d6e

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/release.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Release
22
on:
33
push:
44
branches: [main]
5+
workflow_dispatch:
56
permissions:
67
contents: write
78
pull-requests: write
@@ -17,11 +18,14 @@ jobs:
1718
with:
1819
node-version-file: ".nvmrc"
1920
cache: "yarn"
20-
registry-url: "https://registry.npmjs.org"
21+
# Note: Do NOT set registry-url here — it creates a NODE_AUTH_TOKEN
22+
# that conflicts with npm OIDC trusted publishing
2123
- name: Setup Deno
2224
uses: denoland/setup-deno@v2
2325
with:
2426
deno-version: v2.x
27+
- name: Configure npm registry
28+
run: npm config set registry https://registry.npmjs.org/
2529
- name: Install dependencies
2630
run: yarn
2731
- name: Create Release Pull Request or Publish

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v18.20.2
1+
v25

0 commit comments

Comments
 (0)