From a0ff76c1d8dcc45c83ecdb5c69825f1461176874 Mon Sep 17 00:00:00 2001 From: ronwsmith Date: Tue, 13 Jul 2021 13:32:11 -0500 Subject: [PATCH] Cache node_modules when yarn cache is enabled --- src/commands/yarn_install.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/commands/yarn_install.yml b/src/commands/yarn_install.yml index 39ec8fb..7caad6e 100644 --- a/src/commands/yarn_install.yml +++ b/src/commands/yarn_install.yml @@ -32,5 +32,6 @@ steps: - save_cache: paths: - <> + - node_modules key: | yarn-cache-{{ arch }}-{{ checksum "~/.tmp/checksumfiles/package.json" }}-{{ checksum "~/.tmp/checksumfiles/yarn.lock" }}-{{ .Environment.CACHE_VERSION }}