Skip to content

Use UseNode@1 instead of the deprecated NodeTool@0#66377

Merged
wtgodbe merged 2 commits intomainfrom
dev/ygerges/usenode
Apr 22, 2026
Merged

Use UseNode@1 instead of the deprecated NodeTool@0#66377
wtgodbe merged 2 commits intomainfrom
dev/ygerges/usenode

Conversation

@Youssef1313
Copy link
Copy Markdown
Member

Current pipeline has warnings:

image

This PR moves from NodeTool@0 to UseNode@1.

Copilot AI review requested due to automatic review settings April 20, 2026 09:29
@Youssef1313 Youssef1313 requested review from a team and wtgodbe as code owners April 20, 2026 09:29
@github-actions github-actions Bot added the area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework label Apr 20, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates Azure DevOps pipeline steps to remove deprecation warnings by switching from the deprecated NodeTool@0 task to UseNode@1 when installing Node.js 24.x.

Changes:

  • Replace NodeTool@0 with UseNode@1 in the default build job template.
  • Update task input from versionSpec to version for Node 24.x installs.
  • Apply the same task update in the CI pipeline’s source indexing pre-steps.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.azure/pipelines/jobs/default-build.yml Updates Node installation steps to use UseNode@1 with version: 24.x under the existing conditional blocks.
.azure/pipelines/ci.yml Updates the source-indexing presteps Node installation task to UseNode@1 with version: 24.x.

@Youssef1313 Youssef1313 force-pushed the dev/ygerges/usenode branch from 9625f18 to 01a585f Compare April 20, 2026 15:25
@wtgodbe wtgodbe merged commit a9e29a4 into main Apr 22, 2026
25 checks passed
@wtgodbe wtgodbe deleted the dev/ygerges/usenode branch April 22, 2026 21:14
@dotnet-policy-service dotnet-policy-service Bot added this to the 11.0-preview4 milestone Apr 22, 2026
@wtgodbe wtgodbe modified the milestones: 11.0-preview4, 11.0-preview5 Apr 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants