Skip to content

Commit

Permalink
Caching cypress binary as well #96
Browse files Browse the repository at this point in the history
  • Loading branch information
tillias committed Nov 8, 2020
1 parent 2356dc6 commit b30f48b
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 @@ -76,17 +76,18 @@ jobs:
- checkout
- restore_cache:
keys:
- v1-cypress-dependencies-{{ checksum "package-lock.json" }}
- v2-cypress-dependencies-{{ checksum "package-lock.json" }}
# Perform a Partial Cache Restore (https://circleci.com/docs/2.0/caching/#restoring-cache)
- v1-cypress-dependencies-
- v2-cypress-dependencies-
- run:
name: Install Node Modules
command: 'npm install'
- save_cache:
paths:
- node
- node_modules
key: v1-cypress-dependencies-{{ checksum "package-lock.json" }}
- /root/.cache/Cypress
key: v2-cypress-dependencies-{{ checksum "package-lock.json" }}
- run:
name: cypress run
command: 'npm run cypress'
Expand Down

0 comments on commit b30f48b

Please sign in to comment.