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.4.0/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 @@ -42,18 +42,6 @@ steps:
42
42
versionSpec : ' 3.8'
43
43
condition : eq(variables['Agent.OS'], 'Windows_NT')
44
44
45
- - script : |
46
- ECHO Installing npm-windows-upgrade
47
- npm install --global --production npm-windows-upgrade
48
- displayName: Install npm-windows-upgrade
49
- condition: eq(variables['Agent.OS'], 'Windows_NT')
50
-
51
- - script : |
52
- ECHO Upgrading npm
53
- npm-windows-upgrade --no-spinner --no-prompt --npm-version 6.14.8
54
- displayName: Install npm 6.14.8
55
- condition: eq(variables['Agent.OS'], 'Windows_NT')
56
-
57
45
- script : |
58
46
cd script\vsts
59
47
npm install
You can’t perform that action at this time.
0 commit comments