Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Commit f38dc0a

Browse files
alan-agius4vikerman
authored andcommitted
ci: update key cache to have more cache hits
With this change we should get more cache hit rates since previously all PRs had a different cache key
1 parent 135ad56 commit f38dc0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# (Using the tag in not necessary when pinning by ID, but include it anyway for documentation purposes.)
1616
# **NOTE 2**: If you change the version of the docker images, also change the `cache_key` suffix.
1717
var_1: &docker_image circleci/node:10.16-browsers@sha256:d2a96fe1cbef51257ee626b5f645e64dade3e886f00ba9cb7e8ea65b4efe8db1
18-
var_2: &cache_key v2-nguniversal-{{ .Branch }}-{{ checksum "yarn.lock" }}-node-10.16
18+
var_2: &cache_key v2-nguniversal-{{ checksum "yarn.lock" }}-{{ checksum "WORKSPACE" }}-node-10.16
1919

2020
# Settings common to each job
2121
var_3: &job_defaults

0 commit comments

Comments
 (0)