Skip to content

Commit

Permalink
Cache build env for node 8
Browse files Browse the repository at this point in the history
  • Loading branch information
cblanc committed Mar 14, 2019
1 parent 77fac58 commit b2eefe1
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .circleci/config.yml
Expand Up @@ -21,7 +21,14 @@ jobs:
- image: circleci/node:8
steps:
- checkout
- restore_cache:
keys:
- npm-deps-{{ checksum "package-lock.json" }}
- run: npm install
- save_cache:
key: npm-deps-{{ checksum "package-lock.json" }}
paths:
- node_modules/
- run: npm test
- run: npm run coverage

Expand All @@ -43,9 +50,9 @@ jobs:

workflows:
version: 2
node6_node8_node10:
ci:
jobs:
- node6
- node8
- node10


0 comments on commit b2eefe1

Please sign in to comment.