Skip to content
This repository has been archived by the owner on Mar 27, 2023. It is now read-only.

Commit

Permalink
Bring back CI caching of dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
vincemtnz committed Apr 3, 2019
1 parent 0dcaf04 commit 112007d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ jobs:
<<: *defaults
steps:
- checkout
# - restore_cache:
# name: Restoring bundler cache
# key: gem-cache-{{ checksum "Gemfile.lock" }}
# - restore_cache:
# name: Restoring node_modules cache
# key: yarn-cache-{{ checksum "yarn.lock" }}
- restore_cache:
name: Restoring bundler cache
key: gems-{{ checksum "Gemfile.lock" }}
- restore_cache:
name: Restoring node_modules cache
key: node-{{ checksum "yarn.lock" }}
- run:
name: Install gems
command: bundle install --path vendor/bundle
Expand All @@ -27,11 +27,11 @@ jobs:
name: Download external assets
command: bundle exec rake assets:download_external_assets[$EXTERNAL_ASSETS_PATH,$CUSTOM_ASSETS_URL,$CUSTOM_ASSETS_CREDENTIALS,$CIRCLE_BRANCH]
- save_cache:
key: gem-cache-{{ checksum "Gemfile.lock" }}
key: gems-{{ checksum "Gemfile.lock" }}
paths:
- vendor/bundle
- save_cache:
key: yarn-cache-{{ checksum "yarn.lock" }}
key: node-{{ checksum "yarn.lock" }}
paths:
- node_modules
- persist_to_workspace:
Expand Down

0 comments on commit 112007d

Please sign in to comment.