@@ -22,15 +22,15 @@ version: 2.1
2222# **NOTE 1 **: If you change the cache key prefix, also sync the cache_key_fallback to match.
2323# **NOTE 2 **: Keep the static part of the cache key as prefix to enable correct fallbacks.
2424# See https://circleci.com/docs/2.0/caching/#restoring-cache for how prefixes work in CircleCI.
25- var_3 : &cache_key v4-angular-node-12 -{{ checksum ".bazelversion" }}-{{ checksum "yarn.lock" }}-{{ checksum "WORKSPACE" }}-{{ checksum "packages/bazel/package.bzl" }}-{{ checksum "aio/yarn.lock" }}
25+ var_3 : &cache_key v4-angular-node-14 -{{ checksum ".bazelversion" }}-{{ checksum "yarn.lock" }}-{{ checksum "WORKSPACE" }}-{{ checksum "packages/bazel/package.bzl" }}-{{ checksum "aio/yarn.lock" }}
2626# We invalidate the cache if the Bazel version changes because otherwise the `bazelisk` cache
2727# folder will contain all previously used versions and ultimately cause the cache restoring to
2828# be slower due to its growing size.
29- var_4 : &cache_key_fallback v4-angular-node-12 -{{ checksum ".bazelversion" }}
29+ var_4 : &cache_key_fallback v4-angular-node-14 -{{ checksum ".bazelversion" }}
3030
3131# Windows needs its own cache key because binaries in node_modules are different.
32- var_3_win : &cache_key_win v4-angular-win-node-12 -{{ checksum ".bazelversion" }}-{{ checksum "yarn.lock" }}-{{ checksum "WORKSPACE" }}-{{ checksum "packages/bazel/package.bzl" }}-{{ checksum "aio/yarn.lock" }}
33- var_4_win : &cache_key_win_fallback v4-angular-win-node-12 -{{ checksum ".bazelversion" }}
32+ var_3_win : &cache_key_win v4-angular-win-node-14 -{{ checksum ".bazelversion" }}-{{ checksum "yarn.lock" }}-{{ checksum "WORKSPACE" }}-{{ checksum "packages/bazel/package.bzl" }}-{{ checksum "aio/yarn.lock" }}
33+ var_4_win : &cache_key_win_fallback v4-angular-win-node-14 -{{ checksum ".bazelversion" }}
3434
3535# Cache key for the `components-repo-unit-tests` job. **Note** when updating the SHA in the
3636# cache keys also update the SHA for the "COMPONENTS_REPO_COMMIT" environment variable.
@@ -77,7 +77,7 @@ executors:
7777 type : string
7878 default : medium
7979 docker :
80- - image : circleci/node:12. 14.1@sha256:f9de24fc0017059cc42ef7d07db060008af65a98b1f0cdd1ef3339213226bf6d
80+ - image : circleci/node:14.16. 1@sha256:951e12268fe692615bfd155c327bd910e10c99db98404badd03879f984c32b31
8181 resource_class : << parameters.resource_class >>
8282 working_directory : ~/ng
8383
@@ -95,7 +95,7 @@ executors:
9595 machine :
9696 # Windows preview image that includes the following:
9797 # - Visual Studio 2019 build tools
98- # - Node 12
98+ # - Node 14
9999 # - yarn 1.17
100100 # - Python 3 3.7.4
101101 image : windows-server-2019-vs2019:201908-02
0 commit comments