coreybutler/nvm-windows

Azure Devops Pipeline CMD Use

Open

#404 opened on 2018年11月6日

GitHub で見る
 (4 comments) (0 reactions) (0 assignees)Go (46,364 stars) (3,822 forks)batch import
help wanted

説明

Hi there,

I am trying to use Azure Devops Pipeline to switch installed node package versions on our build machine. Running a very basic script "nvm use 6.10.0" in a powershell/command line script, I get the successful "using 6.10.0" message, however when checking nvm list on the build machine, it is still using version 10.10.0 (highlighted in the screenshot).

It appears only manual nvm use script works, I am not sure of the internal workings of nvm on windows but will it be possible to change node package in the Azure pipeline?

Thanks in advance,

Script: nvm use 6.10.0 nvm list

image

コントリビューターガイド