From 2273ad19d2e38f1c693b8c60748340931f93e97f Mon Sep 17 00:00:00 2001 From: Jan Amann Date: Fri, 18 Oct 2024 11:49:02 +0200 Subject: [PATCH] ci: Remove playwright caching (seems to be broken) (#1430) --- .github/workflows/main.yml | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 483c0590a..6492c805f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,19 +24,8 @@ jobs: path: ${{ github.workspace }}/examples/*/.next/cache key: ${{ runner.os }}-nextjs-${{ hashFiles('pnpm-lock.yaml') }} - # Playwright - - run: | - PLAYWRIGHT_VERSION=$(cat pnpm-lock.yaml | grep /@playwright/test@ | sed 's/.*@\([^:]*\):.*/\1/') - echo "PLAYWRIGHT_VERSION=$PLAYWRIGHT_VERSION" >> $GITHUB_ENV - - uses: actions/cache@v4 - name: Restore playwright - id: cache-playwright-browsers - with: - path: ~/.cache/ms-playwright - key: playwright-browsers-${{ env.PLAYWRIGHT_VERSION }} - - if: steps.cache-playwright-browsers.outputs.cache-hit != 'true' - # Setting up playwright in one example is sufficient - run: pnpm --filter example-app-router-playground exec playwright install --with-deps + # Setting up playwright in one example is sufficient + - run: pnpm --filter example-app-router-playground exec playwright install --with-deps - run: pnpm run build - run: pnpm run lint