mirror of
https://github.com/thelounge/thelounge.git
synced 2024-06-18 13:35:10 +02:00
Invalidate cache and use appveyor-retry with npm
Return cache but invalidate it when needed Add appveyor-retry Remove spaces
This commit is contained in:
parent
adf93f9fad
commit
8d31a0b312
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue