Skip to content

Commit

Permalink
Update AppVeyor config from master.
Browse files Browse the repository at this point in the history
Add back Node.js 6.x and conditionally do `npm ci`.
  • Loading branch information
XhmikosR committed Aug 14, 2019
1 parent 440d613 commit 1fadc30
Showing 1 changed file with 10 additions and 16 deletions.
26 changes: 10 additions & 16 deletions appveyor.yml
@@ -1,25 +1,20 @@
# https://www.appveyor.com/docs/appveyor-yml

version: "{build}"

clone_depth: 10
shallow_clone: true

environment:
PLATFORM: x64
matrix:
- nodejs_version: "6"
platform: x86
- nodejs_version: "8"
platform: x86
- NODEJS_VERSION: "6"
- NODEJS_VERSION: "8"
- NODEJS_VERSION: "10"
- NODEJS_VERSION: "12"

install:
- ps: Install-Product node $env:nodejs_version $env:platform
- npm install --global npm@latest
- set CI=true
- set PATH=%APPDATA%\npm;%PATH%
- npm install
- ps: Install-Product node $env:NODEJS_VERSION $env:PLATFORM
- if "%NODEJS_VERSION%" lss "8" (npm install) else (npm ci)

build: off
shallow_clone: true

test_script:
- node --version
Expand All @@ -30,6 +25,5 @@ matrix:
fast_finish: true

cache:
- "%LOCALAPPDATA%\\Yarn"
- node_modules -> package.json
- node_modules -> package-lock.json
- '%APPDATA%\npm-cache\ -> appveyor.yml,package.json,package-lock.json'
- 'node_modules\ -> appveyor.yml,package.json,package-lock.json'

0 comments on commit 1fadc30

Please sign in to comment.