Cache npm and cache directories, and run test using npm (#34)
This commit is contained in:
parent
f040f5c584
commit
cd4645e5b3
@ -3,8 +3,10 @@ node_js:
|
|||||||
- 8
|
- 8
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
|
- ~/.npm
|
||||||
|
- ~/.cache
|
||||||
- node_modules
|
- node_modules
|
||||||
install:
|
install:
|
||||||
- yarn
|
- npm install
|
||||||
script:
|
script:
|
||||||
- yarn test
|
- npm test
|
||||||
Loading…
x
Reference in New Issue
Block a user