Skip to content

Commit 607db26

Browse files
committed
fix: use Node 24 for npm OIDC trusted publishing
1 parent 1ec3bcd commit 607db26

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
- uses: actions/setup-node@v4
1616
with:
17-
node-version: '20'
17+
node-version: '24'
1818

1919
- name: Install dependencies
2020
run: npm ci

.github/workflows/publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,12 @@ jobs:
1616

1717
- uses: actions/setup-node@v4
1818
with:
19-
node-version: '20'
19+
node-version: '24'
2020
registry-url: 'https://registry.npmjs.org'
2121

22+
- name: Upgrade npm for OIDC support
23+
run: npm install -g npm@latest
24+
2225
- name: Install dependencies
2326
run: npm ci
2427

0 commit comments

Comments
 (0)