ci: run workflows on node 24

Also drops the explicit `npm install -g npm@latest` step: node 24 bundles
npm 11.16, well over the >= 11.5.1 that trusted publishing requires. Pulling
an unpinned npm@latest right before publishing 258 packages was the larger
risk of the two.
This commit is contained in:
Daniel Sogl
2026-07-27 21:35:14 +02:00
parent b853b94f2d
commit 4de0e83d51
2 changed files with 3 additions and 6 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4.4.0
with:
node-version: 22
node-version: 24
cache: npm
- name: Install dependencies
+2 -5
View File
@@ -43,14 +43,11 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4.4.0
with:
node-version: 22
# node 24 bundles npm 11.16, over the >= 11.5.1 that trusted publishing needs
node-version: 24
cache: npm
registry-url: https://registry.npmjs.org
# node 22 ships npm 10.x; trusted publishing (OIDC) requires npm >= 11.5.1
- name: Update npm
run: npm install -g npm@latest
- name: Install dependencies
run: npm ci