Skip to content

Commit c4521d6

Browse files
Marcosldclaude
andcommitted
chore: pin release job to Node 26 and bump CI to Node 24
- Release job: pin Node 26 (bundles npm 11.16.0 >= 11.5.1) and drop the manual npm upgrade step it makes redundant. - CI job: bump Node from 16 to 24 so the dependency tree, including semantic-release (engine ^22.14.0 || >= 24.10.0), is compatible. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent fc892e4 commit c4521d6

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
matrix:
1414
os: [windows-latest, ubuntu-latest]
15-
node_version: [16]
15+
node_version: [24]
1616
name: CI on NodeJS v${{ matrix.node_version }} and ${{ matrix.os }}
1717
runs-on: ${{ matrix.os }}
1818
steps:

.github/workflows/release.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,13 @@ jobs:
2727

2828
# Do NOT set registry-url here: it writes an .npmrc that conflicts
2929
# with semantic-release's OIDC authentication.
30+
# Node 26 bundles npm >= 11.5.1, required for OIDC trusted publishing.
3031
- uses: actions/setup-node@v4
3132
with:
32-
node-version: 24
33+
node-version: 26
3334

3435
- run: yarn install --frozen-lockfile
3536

36-
# npm OIDC trusted publishing requires npm >= 11.5.1; upgrade to be
37-
# independent of the version bundled with Node 24.
38-
- run: npm install -g npm@latest
39-
4037
- name: Release
4138
env:
4239
GITHUB_TOKEN: ${{ secrets.FLOW_GITHUB_TOKEN }}

0 commit comments

Comments
 (0)