Skip to content

[BUG]: AzureWebApp@1 missing Node 22-LTS option #20864

@blendsdk

Description

@blendsdk

New issue checklist

Task name

AzureWebApp@1

Task version

1

Issue Description

Hi,

I have been trying to deploy a very simple "Hello World" app in Azure using AzureWebApp@1.
When I deploy by app using appType = webAppLinux and runtimeStack = NODE|20-lts everything goes okay.
But runtimeStack = NODE|22-lts The deployment reverts back to node v16!!

Azure supports Node 22 at this moment. I might be wrong but it looks like AzureWebApp@1 is missing Node 22 option. Please see:

"NODE:20-lts": "Node 20 LTS",

My config:

- task: AzureWebApp@1
  displayName: 'Deploy $(APP_NAME) via ${{ parameters.subscription }}'
  inputs:
    azureSubscription: ${{ parameters.subscription }}
    appType: 'webAppLinux'
    appName: $(APP_NAME)
    package: $(Pipeline.Workspace)/archives/${{ parameters.component }}_$(Build.BuildNumber).zip
    deploymentMethod: zipDeploy
    # RuntimeStack: 'NODE|20-lts' # This works
    RuntimeStack: 'NODE|22-lts' # THIS DOES NOT WORK!!

Any thoughts?

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

Ubuntu

Relevant log output

No error logs!!

Full task logs with system.debug enabled

Repro steps

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions