diff --git a/src/commands/install-packages.yml b/src/commands/install-packages.yml index 93eb560..e5d8840 100644 --- a/src/commands/install-packages.yml +++ b/src/commands/install-packages.yml @@ -176,7 +176,8 @@ steps: - save_cache: key: node-deps-{{ arch }}-<>-<<#parameters.include-branch-in-cache-key>>{{ .Branch }}-<><<^parameters.cache-only-lockfile>>{{ checksum "/tmp/node-project-package.json" }}-<>{{ checksum "/tmp/node-project-lockfile" }} paths: - - <>/.yarn/cache + - ~/.yarn/berry/cache # global cache, the default in Yarn Berry v4+ + - <>/.yarn/cache # project cache, the default in Yarn Berry > 2 and < 4 - when: condition: << parameters.with-cache >> steps: