Skip to content

Commit 2df5331

Browse files
committed
[Tests] appveyor use npm 6.10.3 to work-around issues w/ nyc@<15
1 parent 9e89605 commit 2df5331

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

appveyor.yml

+3-7
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,10 @@ install:
2222
# Get the latest stable version of Node.js or io.js
2323
- ps: Install-Product node $env:nodejs_version
2424

25+
# Use [email protected] to work-around issues w/ nyc@<15 on Windows
26+
- npm install -g [email protected]
27+
2528
# install modules
26-
- ps: >-
27-
if ($env:nodejs_version -eq "4") {
28-
npm install -g npm@3;
29-
}
30-
if ($env:nodejs_version -eq "12" -or $env:nodejs_version -eq "10") {
31-
npm install -g [email protected];
32-
}
3329
- npm install
3430

3531
# fix symlinks

0 commit comments

Comments
 (0)