Cache npm and cache directories, and run test using npm (#34)

This commit is contained in:
Faris Ansari 2018-06-06 23:19:16 +05:30 committed by GitHub
parent f040f5c584
commit cd4645e5b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,8 +3,10 @@ node_js:
- 8
cache:
directories:
- ~/.npm
- ~/.cache
- node_modules
install:
- yarn
- npm install
script:
- yarn test
- npm test