From 3f0f11649aca8fb18bd7fce1595d6f138f6ad323 Mon Sep 17 00:00:00 2001 From: Elio Bischof Date: Fri, 16 Jun 2023 02:10:08 +0200 Subject: [PATCH] cache and restore cypress binary --- .github/workflows/test.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e5c42b40d56..14859521714 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -58,6 +58,15 @@ jobs: restore-keys: | ${{ runner.os }}-pnpm-store- + - uses: actions/cache@v3 + name: Setup Cypress binary cache + with: + path: ~/.cache/Cypress + key: ${{ runner.os }}-cypress-binary-${{ hashFiles('**/pnpm-lock.yaml') }} + restore-keys: | + ${{ runner.os }}-cypress-binary- + if: ${{ matrix.command }} == "test:integration" + - name: Install Dependencies id: deps run: pnpm install