mirror of
https://github.com/thelounge/thelounge
synced 2024-11-26 05:50:22 +00: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
1 changed files with 5 additions and 1 deletions
|
@ -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