chore: cache node_modules

This commit is contained in:
Daniel Ruf 2018-05-09 14:17:40 +02:00
parent 0658e4282e
commit 960110564d
No known key found for this signature in database
GPG Key ID: F1C4F86FD2048661
2 changed files with 5 additions and 0 deletions

View File

@ -17,3 +17,5 @@ version: '{build}'
shallow_clone: true
clone_depth: 1
test_script: npm t
cache:
- node_modules

View File

@ -6,3 +6,6 @@ node_js:
- 4
before_install:
- npm i -g npm
cache:
directories:
- node_modules