Skip to content

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

Open
Youssef1313 wants to merge 2 commits intomainfrom
dev/ygerges/usenode
Open

Use UseNode@1 instead of the deprecated NodeTool@0#66377
Youssef1313 wants to merge 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
@dotnet-policy-service
Copy link
Copy Markdown
Contributor

Hey @dotnet/aspnet-build, looks like this PR is something you want to take a look at.

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
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.

2 participants