Skip to content

Commit 314289f

Browse files
authored
fix(ci): update npm to latest for OIDC trusted publishing (#5)
GitHub Actions runners have outdated npm that doesn't support OIDC. npm 11.5.1+ required for trusted publishing to work. Signed-off-by: assagman <[email protected]>
1 parent c4b5d5b commit 314289f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/release-publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ jobs:
3636
node-version: '20'
3737
registry-url: 'https://registry.npmjs.org'
3838

39+
- name: Update npm for OIDC trusted publishing
40+
run: npm install -g npm@latest
41+
3942
- name: Install dependencies
4043
run: bun install
4144

0 commit comments

Comments
 (0)