Add nodejs toolcache for windows (#840)

* add installation of nodejs

Co-authored-by: Dmitry Shibanov <v-dmshib@microsoft.com>
This commit is contained in:
Dmitry Shibanov
2020-05-08 11:14:27 +00:00
committed by GitHub
parent 48f3964fe6
commit 68fdb181e5
3 changed files with 28 additions and 1 deletions

View File

@@ -62,7 +62,10 @@ $ErrorActionPreference = "Stop"
Import-Module -Name ImageHelpers -Force
# Define executables for cached tools
$toolsExecutables = @{ Python = @("python.exe", "Scripts\pip.exe") }
$toolsExecutables = @{
Python = @("python.exe", "Scripts\pip.exe");
node = @("node.exe", "npm")
}
# Get toolcache content from toolset
$tools = Get-ToolsetContent | Select-Object -ExpandProperty toolcache