mirror of
https://github.com/danog/inline-critical.git
synced 2024-11-26 20:14:41 +01:00
30 lines
575 B
YAML
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'
|