Skip to content

Commit

Permalink
test: fix cypress cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Chau committed Jul 26, 2018
1 parent 0133319 commit af618a9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,18 @@ jobs:
# Download and cache dependencies
- restore_cache:
keys:
- v1-dependencies-{{ checksum "yarn.lock" }}
- v2-dependencies-{{ checksum "yarn.lock" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-
- v2-dependencies-

- run: yarn install

- save_cache:
paths:
- node_modules
- ~/.cache/yarn
key: v1-dependencies-{{ checksum "yarn.lock" }}
- ~/.cache/Cypress
key: v2-dependencies-{{ checksum "yarn.lock" }}

# run tests!
- run: yarn test
Expand Down

0 comments on commit af618a9

Please sign in to comment.