Skip to content

Change default Node runtime from 18 to 20#79

Merged
mengyimicro merged 1 commit intomainfrom
users/mengyixu/updateDefaultNoderuntime
Dec 9, 2025
Merged

Change default Node runtime from 18 to 20#79
mengyimicro merged 1 commit intomainfrom
users/mengyixu/updateDefaultNoderuntime

Conversation

@mengyimicro
Copy link
Contributor

@mengyimicro mengyimicro commented Dec 9, 2025

Newly provisioned web apps should default to Node.js 20.x (current maintenance LTS): use Node 20 LTS as default for app service as suggested: Azure updates | Microsoft Azure

Fixes #65

@mengyimicro mengyimicro requested review from a team as code owners December 9, 2025 16:58
Copilot AI review requested due to automatic review settings December 9, 2025 16:58
Copy link
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

This PR updates the default Node.js runtime version for Azure Web App deployments from Node 18 LTS to Node 20 LTS, ensuring the infrastructure setup uses a more recent supported version of Node.js.

  • Updated GetRuntimeForPlatform to return NODE:20-lts instead of NODE:18-lts for Node.js projects

sellakumaran
sellakumaran previously approved these changes Dec 9, 2025
@mengyimicro mengyimicro enabled auto-merge (squash) December 9, 2025 18:01
@mengyimicro mengyimicro merged commit 5be3c7e into main Dec 9, 2025
5 checks passed
@mengyimicro mengyimicro deleted the users/mengyixu/updateDefaultNoderuntime branch December 9, 2025 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

App Service CLI provisions outdated Node. js (18.x), should default to 20.x or 24.x LTS

4 participants