ci: add cache and match with nvmrc on appveyor

This commit is contained in:
Nicolas Charpentier 2017-03-20 18:38:55 -04:00 committed by Filipe Silva
parent d7b46d09e6
commit c298b25b23

View File

@ -1,13 +1,12 @@
environment:
matrix:
- nodejs_version: "6.9"
- nodejs_version: "6"
matrix:
fast_finish: true
install:
- ps: Install-Product node $env:nodejs_version
- npm install -g yarn
- yarn install
test_script:
@ -17,3 +16,7 @@ test_script:
- node tests\run_e2e.js
build: off
cache:
- node_modules
- "%LOCALAPPDATA%/Yarn"