Skip to content

Commit 6f72c43

Browse files
committed
fix node release
1 parent f9999f4 commit 6f72c43

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,15 @@ jobs:
6060
- name: Set up Node.js
6161
uses: actions/setup-node@v4
6262
with:
63-
node-version: '22' # Node 22+ includes npm >= 11.5.1 required for OIDC
63+
node-version: '22'
6464
registry-url: 'https://registry.npmjs.org'
6565

66+
- name: Upgrade npm for OIDC support
67+
run: npm install -g npm@latest # npm >= 11.5.1 required for OIDC
68+
69+
- name: Verify npm version
70+
run: npm --version
71+
6672
- name: Install dependencies
6773
run: |
6874
cd nodejs-api

0 commit comments

Comments
 (0)