Skip to content
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

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

Open
5 of 7 tasks
blendsdk opened this issue Feb 19, 2025 · 0 comments
Open
5 of 7 tasks

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

blendsdk opened this issue Feb 19, 2025 · 0 comments

Comments

@blendsdk
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants