File tree 2 files changed +1
-13
lines changed
script/vsts/platforms/templates
2 files changed +1
-13
lines changed Original file line number Diff line number Diff line change 2
2
- pwsh : |
3
3
# OS specific env variables
4
4
if ($env:AGENT_OS -eq "Windows_NT") {
5
- $env:NPM_BIN_PATH="C:/hostedtoolcache/windows/node/12.16.3/x64 /npm.cmd"
5
+ $env:NPM_BIN_PATH="C:/npm/prefix /npm.cmd"
6
6
$env:npm_config_build_from_source=true
7
7
}
8
8
if ($env:AGENT_OS -eq "Darwin") {
Original file line number Diff line number Diff line change @@ -34,18 +34,6 @@ steps:
34
34
versionSpec : ' 3.8'
35
35
condition : eq(variables['Agent.OS'], 'Windows_NT')
36
36
37
- - script : |
38
- ECHO Installing npm-windows-upgrade
39
- npm install --global --production npm-windows-upgrade
40
- displayName: Install npm-windows-upgrade
41
- condition: eq(variables['Agent.OS'], 'Windows_NT')
42
-
43
- - script : |
44
- ECHO Upgrading npm
45
- npm-windows-upgrade --no-spinner --no-prompt --npm-version 6.9.0
46
- displayName: Install npm 6.9.0
47
- condition: eq(variables['Agent.OS'], 'Windows_NT')
48
-
49
37
- script : |
50
38
npm install --global --production [email protected]
51
39
displayName: Install windows build tools
You can’t perform that action at this time.
0 commit comments