Skip to content

Commit

Permalink
ci: create an empty cache by including extra key data when loading cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Westbrook committed Apr 27, 2023
1 parent dfb669e commit 861c09e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ parameters:
current_golden_images_hash:
type: string
default: 3a3d3c96e67356a3bcc4c0eeb77076938c1bb31e
wireit_cache_name:
type: string
default: wireit
commands:
downstream:
steps:
Expand All @@ -20,8 +23,8 @@ commands:
- v3b-dependencies-{{ arch }}-{{ checksum "yarn.lock" }}
- restore_cache:
keys:
- v3b-wireit-{{ arch }}-{{ checksum "package.json" }}-
- v3b-wireit-{{ arch }}-
- v3b-<< pipeline.parameters.wireit_cache_name >>-{{ arch }}-{{ checksum "package.json" }}-
- v3b-<< pipeline.parameters.wireit_cache_name >>-{{ arch }}-
- run:
name: Installing Dependencies
command: yarn --frozen-lockfile --cache-folder ~/.cache/yarn
Expand Down

0 comments on commit 861c09e

Please sign in to comment.