Skip to content

It is not clear which version of the node is supported by the version of the azure-pipelines-task-lib #982

@gusega

Description

@gusega

Dear maintainers,

It's not clear which version of the node is supported by the azure-pipelines-task-lib

From reading this microsoft documentation I understand that only task node 10 runner is guaranteed to be present on the agent. Which means that in order for the task and task tests to run successfully, the task.json execution must be set to Node10 and so the task and it's tests must only use functionality provided in node version 10. Also other dependencies of the task, such as typescript @types/node should be of version 10 and the tsconfig.json should be for node version 10.

On the other hand, the task.json schema allows to use execution Node16, although task node 16 runner is not available on the agents.

So my question is what version of node corresponds to which version of the azure-pipelines-task-lib library? How do I install or request task node 16 runner on an agent?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions