more caching

This commit is contained in:
Ibby Hadeed 2017-03-28 19:59:33 -04:00
parent 7953ca0e72
commit 3f2a983c6e

View File

@ -18,10 +18,18 @@ jobs:
key: ionic-site
paths:
- ~/ionic-site/
- restore_cache:
key: node_modules
- run:
name: Install node modules
command: npm i
- run: npm run lint
- save_cache:
key: node-modules-{{ checksum "package.json" }} # used cached node_modules if package.json didn't change
paths:
- ~/node_modules/
- run:
name: Run tslint
command: npm run lint
- run:
name: Update docs
command: ./scripts/docs/update_docs.sh