Skip to content

Commit 345c1af

Browse files
authored
ci: bump CI Node to 24.16.0 (ships npm 11.13.0) (#4943)
* ci: bump CI Node to 24.16.0 (ships npm 11.13.0) Trusted publishing requires npm >= 11.5.1. Node 24.16.0 ships npm 11.13.0, which removes the need for the npm@11 bootstrap step added in #4929. Updated all workflows using actions/setup-node plus .nvmrc. * ci: remove npm@11 bootstrap, Node 24 ships npm 11.13.0 Revert the workaround from #4929. The publish workflows now run on Node 24.16.0 (npm 11.13.0), which already satisfies the npm >= 11.5.1 floor required by OIDC trusted publishing. Removes 7 "Upgrade npm for trusted publishing" steps across 5 publish workflows.
1 parent 10e0217 commit 345c1af

14 files changed

Lines changed: 21 additions & 36 deletions

.github/workflows/_setup.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
- name: Install Node.js
8585
uses: actions/setup-node@v6
8686
with:
87-
node-version: '22.12.0'
87+
node-version: '24.16.0'
8888
- name: Setup pnpm
8989
id: setup-pnpm
9090
uses: pnpm/action-setup@v6

.github/workflows/checks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- name: Install Node.js
4343
uses: actions/setup-node@v6
4444
with:
45-
node-version: "22.12.0"
45+
node-version: "24.16.0"
4646
- name: Setup pnpm
4747
uses: pnpm/action-setup@v6
4848
- name: Fallback install (cache miss)

.github/workflows/claude.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
if: steps.check-permission.outputs.authorized == 'true'
5050
uses: actions/setup-node@v6
5151
with:
52-
node-version: '22.12.0'
52+
node-version: '24.16.0'
5353

5454
- name: Setup pnpm
5555
if: steps.check-permission.outputs.authorized == 'true'

.github/workflows/playwright.yml

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

2424
- uses: actions/setup-node@v6
2525
with:
26-
node-version: "22.12.0"
26+
node-version: "24.16.0"
2727
cache: pnpm
2828
cache-dependency-path: pnpm-lock.yaml
2929

.github/workflows/publish_core_react.yaml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
- name: Install Node.js
5858
uses: actions/setup-node@v6
5959
with:
60-
node-version: '22.14.0'
60+
node-version: '24.16.0'
6161
- name: Setup pnpm
6262
id: setup-pnpm
6363
uses: pnpm/action-setup@v6
@@ -94,17 +94,14 @@ jobs:
9494
- name: Install Node.js
9595
uses: actions/setup-node@v6
9696
with:
97-
node-version: '22.14.0'
97+
node-version: '24.16.0'
9898
registry-url: 'https://registry.npmjs.org'
9999
- name: Setup pnpm
100100
id: setup-pnpm
101101
uses: pnpm/action-setup@v6
102102
with:
103103
run_install: false
104104
# Skip on beta runs — eds-utils has no beta channel
105-
- name: Upgrade npm for trusted publishing
106-
if: needs.setup.outputs.tag != 'beta'
107-
run: npm install -g npm@11
108105
- name: Publish to npm
109106
id: publish-to-npm
110107
if: needs.setup.outputs.tag != 'beta'
@@ -135,7 +132,7 @@ jobs:
135132
- name: Install Node.js
136133
uses: actions/setup-node@v6
137134
with:
138-
node-version: '22.14.0'
135+
node-version: '24.16.0'
139136
registry-url: 'https://registry.npmjs.org'
140137
- name: Setup pnpm
141138
id: setup-pnpm
@@ -172,8 +169,6 @@ jobs:
172169
"
173170
echo "Updated exports:"
174171
cat package.json | grep -A 15 '"exports"'
175-
- name: Upgrade npm for trusted publishing
176-
run: npm install -g npm@11
177172
- name: Publish to npm
178173
id: publish-to-npm
179174
working-directory: packages/eds-core-react

.github/workflows/publish_data_grid.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
- name: Install Node.js
5757
uses: actions/setup-node@v6
5858
with:
59-
node-version: '22.14.0'
59+
node-version: '24.16.0'
6060
- name: Setup pnpm
6161
id: setup-pnpm
6262
uses: pnpm/action-setup@v6
@@ -93,15 +93,13 @@ jobs:
9393
- name: Install Node.js
9494
uses: actions/setup-node@v6
9595
with:
96-
node-version: '22.14.0'
96+
node-version: '24.16.0'
9797
registry-url: 'https://registry.npmjs.org'
9898
- name: Setup pnpm
9999
id: setup-pnpm
100100
uses: pnpm/action-setup@v6
101101
with:
102102
run_install: false
103-
- name: Upgrade npm for trusted publishing
104-
run: npm install -g npm@11
105103
- name: Publish to npm
106104
id: publish-to-npm
107105
working-directory: packages/eds-data-grid-react

.github/workflows/publish_icons.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
- name: Install Node.js
4949
uses: actions/setup-node@v6
5050
with:
51-
node-version: '22.14.0'
51+
node-version: '24.16.0'
5252
- name: Setup pnpm
5353
id: setup-pnpm
5454
uses: pnpm/action-setup@v6
@@ -82,15 +82,13 @@ jobs:
8282
- name: Install Node.js
8383
uses: actions/setup-node@v6
8484
with:
85-
node-version: '22.14.0'
85+
node-version: '24.16.0'
8686
registry-url: 'https://registry.npmjs.org'
8787
- name: Setup pnpm
8888
id: setup-pnpm
8989
uses: pnpm/action-setup@v6
9090
with:
9191
run_install: false
92-
- name: Upgrade npm for trusted publishing
93-
run: npm install -g npm@11
9492
- name: Publish to npm
9593
id: publish-to-npm
9694
working-directory: packages/eds-icons

.github/workflows/publish_lab.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
- name: Install Node.js
5757
uses: actions/setup-node@v6
5858
with:
59-
node-version: '22.14.0'
59+
node-version: '24.16.0'
6060
- name: Setup pnpm
6161
id: setup-pnpm
6262
uses: pnpm/action-setup@v6
@@ -93,15 +93,13 @@ jobs:
9393
- name: Install Node.js
9494
uses: actions/setup-node@v6
9595
with:
96-
node-version: '22.14.0'
96+
node-version: '24.16.0'
9797
registry-url: 'https://registry.npmjs.org'
9898
- name: Setup pnpm
9999
id: setup-pnpm
100100
uses: pnpm/action-setup@v6
101101
with:
102102
run_install: false
103-
- name: Upgrade npm for trusted publishing
104-
run: npm install -g npm@11
105103
- name: Publish to npm
106104
id: publish-to-npm
107105
working-directory: packages/eds-utils
@@ -131,15 +129,13 @@ jobs:
131129
- name: Install Node.js
132130
uses: actions/setup-node@v6
133131
with:
134-
node-version: '22.14.0'
132+
node-version: '24.16.0'
135133
registry-url: 'https://registry.npmjs.org'
136134
- name: Setup pnpm
137135
id: setup-pnpm
138136
uses: pnpm/action-setup@v6
139137
with:
140138
run_install: false
141-
- name: Upgrade npm for trusted publishing
142-
run: npm install -g npm@11
143139
- name: Publish to npm
144140
id: publish-to-npm
145141
working-directory: packages/eds-lab-react

.github/workflows/publish_storybook.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
- name: Install Node.js
4747
uses: actions/setup-node@v6
4848
with:
49-
node-version: '22.12.0'
49+
node-version: '24.16.0'
5050
- name: Setup pnpm
5151
id: setup-pnpm
5252
uses: pnpm/action-setup@v6

.github/workflows/publish_tokens.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
- name: Install Node.js
4848
uses: actions/setup-node@v6
4949
with:
50-
node-version: '22.14.0'
50+
node-version: '24.16.0'
5151
- name: Setup pnpm
5252
id: setup-pnpm
5353
uses: pnpm/action-setup@v6
@@ -82,15 +82,13 @@ jobs:
8282
- name: Install Node.js
8383
uses: actions/setup-node@v6
8484
with:
85-
node-version: '22.14.0'
85+
node-version: '24.16.0'
8686
registry-url: 'https://registry.npmjs.org'
8787
- name: Setup pnpm
8888
id: setup-pnpm
8989
uses: pnpm/action-setup@v6
9090
with:
9191
run_install: false
92-
- name: Upgrade npm for trusted publishing
93-
run: npm install -g npm@11
9492
- name: Publish to npm
9593
id: publish-to-npm
9694
working-directory: packages/eds-tokens

0 commit comments

Comments
 (0)