inline-critical/appveyor.yml
2019-08-13 15:41:33 +03:00

30 lines
575 B
YAML

version: "{build}"
shallow_clone: true
environment:
PLATFORM: x64
matrix:
- NODEJS_VERSION: "6"
- NODEJS_VERSION: "8"
- NODEJS_VERSION: "10"
- NODEJS_VERSION: "12"
install:
- ps: Install-Product node $env:NODEJS_VERSION $env:PLATFORM
- if "%NODEJS_VERSION%" lss "8" (npm install) else (npm ci)
build: off
test_script:
- node --version
- npm --version
- npm test
matrix:
fast_finish: true
cache:
- '%APPDATA%\npm-cache\ -> appveyor.yml,package.json,package-lock.json'
- 'node_modules\ -> appveyor.yml,package.json,package-lock.json'