From aa6b2a06867654714094ac650cff140f11cf1edb Mon Sep 17 00:00:00 2001 From: fisker Date: Fri, 14 Feb 2020 17:19:09 +0800 Subject: [PATCH] Restore non-related changes --- appveyor.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 99870a4e86..f883758612 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -8,7 +8,7 @@ environment: # - nodejs_version: "4" matrix: - fast_finish: false + fast_finish: true # allow_failures: # - nodejs_version: "4" # for eslint 5 @@ -22,10 +22,14 @@ install: # Get the latest stable version of Node.js or io.js - ps: Install-Product node $env:nodejs_version - # Use npm@6.10.3 to work-around issues w/ nyc@<15 on Windows - - npm install -g npm@6.10.3 - # install modules + - ps: >- + if ($env:nodejs_version -eq "4") { + npm install -g npm@3; + } + if ($env:nodejs_version -eq "12" -or $env:nodejs_version -eq "10") { + npm install -g npm@6.10.3; + } - npm install # fix symlinks