Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ jobs:
- NodeVersion: 24.11.x
NodeVersionDisplayName: 24
OS: windows-latest
- NodeVersion: 26.7.x
NodeVersionDisplayName: 26
OS: ubuntu-latest
- NodeVersion: 26.7.x
NodeVersionDisplayName: 26
OS: windows-latest
name: Node.js v${{ matrix.NodeVersionDisplayName }} (${{ matrix.OS }})
runs-on: ${{ matrix.OS }}
env:
Expand Down Expand Up @@ -73,6 +79,8 @@ jobs:
- name: Rush retest (install-run-rush)
run: node common/scripts/install-run-rush.js retest --verbose --production
working-directory: repo-a
env:
NODE_OPTIONS: ${{ matrix.NodeVersionDisplayName == 26 && '--no-experimental-webstorage' || '' }}

- name: Run package manager integration tests
run: npm run test
Expand Down Expand Up @@ -109,7 +117,11 @@ jobs:
- name: Rush test (rush-lib)
run: node ${{ github.workspace }}/repo-a/apps/rush/lib-commonjs/start-dev.js test --verbose --production --timeline
working-directory: repo-b
env:
NODE_OPTIONS: ${{ matrix.NodeVersionDisplayName == 26 && '--no-experimental-webstorage' || '' }}

- name: Rush test (rush-lib) again to verify build cache hits
run: node ${{ github.workspace }}/repo-a/apps/rush/lib-commonjs/start-dev.js test --verbose --production --timeline
working-directory: repo-b
env:
NODE_OPTIONS: ${{ matrix.NodeVersionDisplayName == 26 && '--no-experimental-webstorage' || '' }}
10 changes: 10 additions & 0 deletions common/changes/@microsoft/rush/node-26_2026-08-17-12-00.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@microsoft/rush",
"comment": "Add support for Node 26.",
"type": "none"
}
],
"packageName": "@microsoft/rush"
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
parameters:
- name: NodeMajorVersion
type: number
default: 22
default: 24

steps:
- task: NodeTool@0
Expand Down
2 changes: 1 addition & 1 deletion libraries/rush-lib/src/logic/NodeJsCompatibility.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { RushConstants } from './RushConstants';
* LTS schedule: https://nodejs.org/en/about/releases/
* LTS versions: https://nodejs.org/en/download/releases/
*/
const UPCOMING_NODE_LTS_VERSION: number = 24;
const UPCOMING_NODE_LTS_VERSION: number = 26;
const nodeVersion: string = process.versions.node;
const nodeMajorVersion: number = semver.major(nodeVersion);

Expand Down
2 changes: 1 addition & 1 deletion rush.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
* LTS schedule: https://nodejs.org/en/about/releases/
* LTS versions: https://nodejs.org/en/download/releases/
*/
"nodeSupportedVersionRange": ">=20.9.0 <21.0.0 || >=22.12.0 <23.0.0 || >=24.11.1 <25.0.0",
"nodeSupportedVersionRange": ">=20.9.0 <21.0.0 || >=22.12.0 <23.0.0 || >=24.11.1 <25.0.0 || >=26.7.0 <27.0.0",

/**
* If the version check above fails, Rush will display a message showing the current
Expand Down