From 7703685b8406cddbba982272c7d3f9d2a4ea2a19 Mon Sep 17 00:00:00 2001 From: Max Peintner Date: Wed, 8 Jan 2025 14:57:09 +0100 Subject: [PATCH] ? --- .github/workflows/test.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cac00bde39..ffa3a88f3a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -68,8 +68,8 @@ jobs: node-version: 20.x cache: 'pnpm' - - uses: actions/cache@v4.0.2 - name: Setup Cypress binary cache + - name: Setup Cypress binary cache + uses: actions/cache@v4 with: path: ~/.cache/Cypress key: ${{ runner.os }}-cypress-binary-${{ hashFiles('**/pnpm-lock.yaml') }} @@ -81,13 +81,16 @@ jobs: - name: Install Dependencies run: pnpm install --frozen-lockfile + - name: Install Cypress + run: pnpm exec cypress install + # We can cache the Playwright binary independently from the pnpm cache, because we install it separately. # After pnpm install --frozen-lockfile, we can get the version so we only have to download the binary once per version. - run: echo "PLAYWRIGHT_VERSION=$(npx playwright --version | cut -d ' ' -f 2)" >> $GITHUB_ENV if: ${{ startsWith(matrix.command, 'test:acceptance') }} - - uses: actions/cache@v4.0.2 - name: Setup Playwright binary cache + - name: Setup Playwright binary cache + uses: actions/cache@v4 id: playwright-cache with: path: ~/.cache/ms-playwright