From 8d31a0b312525335cc4f284ea303b84c9834b2d2 Mon Sep 17 00:00:00 2001 From: IlyaFinkelshteyn Date: Mon, 21 Nov 2016 19:02:56 -0800 Subject: [PATCH] Invalidate cache and use appveyor-retry with npm Return cache but invalidate it when needed Add appveyor-retry Remove spaces --- appveyor.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index cb2fec40..bc44f000 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -12,7 +12,7 @@ environment: install: - ps: Install-Product node $env:nodejs_version - - npm install + - appveyor-retry npm install - npm install mocha-appveyor-reporter - echo --reporter mocha-appveyor-reporter >> test/mocha.opts @@ -21,5 +21,9 @@ test_script: - npm --version - npm test +# cache npm modules +cache: + - '%AppData%\npm-cache -> package.json' + # Don't actually build build: off