You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.jsonschema 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?