Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions images/win/scripts/Installers/Install-NodeLts.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ Choco-Install -PackageName nodejs-lts -ArgumentList "--force"
Add-MachinePathItem $PrefixPath
$env:Path = Get-MachinePath

setx NPM_CONFIG_PREFIX $PrefixPath /M
$env:NPM_CONFIG_PREFIX = $PrefixPath
setx npm_config_prefix $PrefixPath /M
$env:npm_config_prefix = $PrefixPath

setx NPM_CONFIG_CACHE $CachePath /M
$env:NPM_CONFIG_CACHE = $CachePath
setx npm_config_cache $CachePath /M
$env:npm_config_cache = $CachePath

npm config set registry http://registry.npmjs.org/

Expand All @@ -35,4 +35,4 @@ npm install -g lerna
npm install -g node-sass
npm install -g newman

Invoke-PesterTests -TestFile "Node"
Invoke-PesterTests -TestFile "Node"