-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Update Node.js to v24.14.x and npm to v11.11.0 across build infrastructure #66173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -708,9 +708,9 @@ extends: | |
| binlogPath: artifacts/log/Release/Build.binlog | ||
| presteps: | ||
| - task: NodeTool@0 | ||
| displayName: Install Node 20.x | ||
| displayName: Install Node 24.x | ||
| inputs: | ||
| versionSpec: 20.x | ||
| versionSpec: 24.x | ||
|
||
| pool: | ||
| name: $(DncEngInternalBuildPool) | ||
| demands: ImageOverride -equals windows.vs2026preview.scout.amd64 | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -179,9 +179,9 @@ jobs: | |
| displayName: Start background dump collection | ||
| - ${{ if eq(parameters.installNodeJs, 'true') }}: | ||
| - task: NodeTool@0 | ||
| displayName: Install Node 20.x | ||
| displayName: Install Node 24.x | ||
| inputs: | ||
| versionSpec: 20.x | ||
| versionSpec: 24.x | ||
|
||
| - ${{ if and(eq(parameters.agentOs, 'Windows'), eq(parameters.isAzDOTestingJob, true)) }}: | ||
| - powershell: | | ||
| Write-Host "##vso[task.setvariable variable=SeleniumProcessTrackingFolder]$(Build.SourcesDirectory)\artifacts\tmp\selenium\" | ||
|
|
@@ -413,9 +413,9 @@ jobs: | |
| displayName: Start background dump collection | ||
| - ${{ if eq(parameters.installNodeJs, 'true') }}: | ||
| - task: NodeTool@0 | ||
| displayName: Install Node 20.x | ||
| displayName: Install Node 24.x | ||
| inputs: | ||
| versionSpec: 20.x | ||
| versionSpec: 24.x | ||
|
||
| - ${{ if eq(parameters.agentOs, 'Windows') }}: | ||
| - powershell: Write-Host "##vso[task.prependpath]$(DOTNET_CLI_HOME)\.dotnet\tools" | ||
| displayName: Add dotnet tools to path | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,3 @@ | ||
| registry=https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public-npm/npm/registry/ | ||
| always-auth=true | ||
| min-release-age=3d |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -36,8 +36,8 @@ | |
| } | ||
| }, | ||
| "engines": { | ||
| "node": ">=20.9.0", | ||
| "npm": ">=9.3.1" | ||
| "node": ">=24.14.1", | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @javiercn can you please check whether azurelinux has 24.14? otherwise this will break the VMR build as we use node from AZL packages there
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we checked and the AZL image has node 24.13.0 and npm 11.6.2 so this needs some updates |
||
| "npm": ">=11.11.0" | ||
|
Comment on lines
+39
to
+40
|
||
| }, | ||
| "devDependencies": { | ||
| "karma-sauce-launcher": "^4.3.6", | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
versionSpec: 24.xdoes not guarantee meeting the repo’s minimum Node engine (>=24.14.1). Pin NodeTool to 24.14.1 (or 24.14.x) to avoid intermittent failures when the latest 24.x is below the required patch level.