From 229c9b83852a48c441dfb6ed8f206edb376eee18 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Sun, 1 Jun 2025 09:34:05 +0200 Subject: [PATCH] :paperclip: Add minor changes to circleci cache management --- .circleci/config.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d01ba41737..c52f8ec408 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -107,11 +107,19 @@ jobs: keys: - v1-dependencies-{{ checksum "frontend/deps.edn"}}-{{ checksum "frontend/yarn.lock" }} + - run: + name: "install dependencies" + working_directory: "./frontend" + # We install playwright here because the dependent tasks + # uses the same cache as this task so we prepopulate it + command: | + yarn install + yarn run playwright install chromium + - run: name: "lint scss on frontend" working_directory: "./frontend" command: | - yarn install yarn run lint:scss - run: @@ -125,6 +133,7 @@ jobs: - ~/.m2 - ~/.yarn - ~/.gitlibs + - ~/.cache/ms-playwright key: v1-dependencies-{{ checksum "frontend/deps.edn"}}-{{ checksum "frontend/yarn.lock" }} test-components: