Skip to content

Commit

Permalink
Combine dep cache
Browse files Browse the repository at this point in the history
  • Loading branch information
schneidmaster committed Jul 16, 2017
1 parent aa75079 commit 64a0e65
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,15 @@ jobs:
steps:
- checkout
- restore_cache:
key: yarn-cache-{{ checksum "yarn.lock" }}
- restore_cache:
key: node-modules-cache-{{ checksum "yarn.lock" }}
key: dependency-cache-{{ checksum "yarn.lock" }}
- run:
name: yarn-install
command: yarn install
- save_cache:
key: yarn-cache-{{ checksum "yarn.lock" }}
path: ~/.cache/yarn
- save_cache:
key: node-modules-cache-{{ checksum "yarn.lock" }}
path: ./node_modules
key: dependency-cache-{{ checksum "yarn.lock" }}
paths:
- ~/.cache/yarn
- ./node_modules
- run:
name: yarn-test
command: yarn test
Expand Down

0 comments on commit 64a0e65

Please sign in to comment.