Skip to content

Commit 22d0656

Browse files
glommerclaude
andcommitted
fix: match npm trusted publishing example exactly — node 24, registry-url
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent d125170 commit 22d0656

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ on:
55
types: [published]
66

77
permissions:
8-
contents: read
98
id-token: write
9+
contents: read
1010

1111
jobs:
1212
publish:
@@ -20,10 +20,8 @@ jobs:
2020

2121
- uses: actions/setup-node@v4
2222
with:
23-
node-version: 22
24-
25-
- name: Upgrade npm for OIDC support
26-
run: npm install -g npm@latest
23+
node-version: '24'
24+
registry-url: 'https://registry.npmjs.org'
2725

2826
- run: bun install
2927

0 commit comments

Comments
 (0)