From a5753bb0899b5dda98fa5d5affdd42ada3354980 Mon Sep 17 00:00:00 2001 From: MUI bot <2109932+Janpot@users.noreply.github.com> Date: Tue, 20 Feb 2024 10:06:56 +0100 Subject: [PATCH] Update config.yml --- .circleci/config.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8ded65690fa..d8e8ba08e66 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -26,6 +26,11 @@ commands: description: 'Set to true if you intend to use any browser (e.g. with playwright).' steps: + - restore_cache: + name: Restore pnpm Package Cache + keys: + - pnpm-packages-{{ checksum "pnpm-lock.yaml" }} + - when: condition: << parameters.browsers >> steps: @@ -37,6 +42,8 @@ commands: # See https://stackoverflow.com/a/73411601 - run: corepack enable --install-directory ~/bin + - run: pnpm config set store-dir .pnpm-store + - when: condition: << parameters.browsers >> steps: @@ -65,6 +72,12 @@ commands: name: Install playwright browsers command: pnpm playwright install --with-deps + - save_cache: + name: Save pnpm Package Cache + key: pnpm-packages-{{ checksum "pnpm-lock.yaml" }} + paths: + - .pnpm-store + - save_cache: name: Save playwright cache key: v5-playwright-{{ arch }}-{{ checksum "/tmp/playwright_info.json" }}