Skip to content

Commit

Permalink
chore(circle ci): update setup config
Browse files Browse the repository at this point in the history
  • Loading branch information
schnogz committed Nov 21, 2019
1 parent d1ad376 commit fa31fc9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,20 @@ references:
docker:
- image: circleci/node:10.15.3-jessie-browsers

npm_cache_key: &npm_cache_key v12-dependency-npm-{{ checksum "yarn.lock" }}
npm_cache_key: &npm_cache_key v13-dependency-npm-{{ checksum "yarn.lock" }}

restore_node_modules: &restore_node_modules
restore_cache:
keys:
- *npm_cache_key
- v12-dependency-npm
- v13-dependency-npm

restore_repo: &restore_repo
restore_cache:
keys:
- v12-repo-{{ .Branch }}-{{ .Revision }}
- v12-repo-{{ .Branch }}
- v12-repo
- v13-repo-{{ .Branch }}-{{ .Revision }}
- v13-repo-{{ .Branch }}
- v13-repo

jobs:
pull_code:
Expand All @@ -34,7 +34,7 @@ jobs:
- *restore_repo
- checkout
- save_cache:
key: v12-repo-{{ .Branch }}-{{ .Revision }}
key: v13-repo-{{ .Branch }}-{{ .Revision }}
paths:
- .
npm_install:
Expand All @@ -44,7 +44,7 @@ jobs:
- *restore_node_modules
- run:
name: Install App Dependencies
command: sudo npm install -g yarn@1.13 && yarn --frozen-lockfile
command: sudo ./../setup.sh
- save_cache:
key: *npm_cache_key
paths:
Expand Down

0 comments on commit fa31fc9

Please sign in to comment.