27 lines
505 B
YAML
27 lines
505 B
YAML
version: "{build}"
|
|
build: off
|
|
skip_tags: true
|
|
|
|
environment:
|
|
matrix:
|
|
- nodejs_version: "4"
|
|
- nodejs_version: "6"
|
|
- nodejs_version: "8"
|
|
- nodejs_version: "10"
|
|
- nodejs_version: "12"
|
|
|
|
platform:
|
|
- x86
|
|
- x64
|
|
|
|
install:
|
|
# https://www.appveyor.com/docs/lang/nodejs-iojs/#installing-any-version-of-nodejs-or-iojs
|
|
- ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version) $env:PLATFORM
|
|
- npm ci || npm i
|
|
|
|
test_script:
|
|
- npm test
|
|
|
|
cache:
|
|
- '%APPDATA%\npm-cache'
|