From eda2d831b1e9b68016d05024d83a6c00b731e98a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matija=20Marohni=C4=87?= Date: Sat, 30 Mar 2024 01:35:08 +0100 Subject: [PATCH] Don't cache Playwright binaries --- .github/workflows/deploy.yml | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e4fb0732..f1375b4b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -114,21 +114,7 @@ jobs: - name: Install dependencies run: npm ci - - name: Add environment variables - run: | - echo "NODE_VERSION=$(node --version)" >> $GITHUB_ENV - npm list @playwright/test --depth=0 --json > npm-list-playwright.json - echo "PLAYWRIGHT_VERSION=$(node --print "require('./npm-list-playwright.json').dependencies['@playwright/test'].version")" >> $GITHUB_ENV - - - name: Cache binaries - uses: actions/cache@v3 - id: playwright-cache - with: - path: ~/.cache/ms-playwright - key: os-${{ runner.os }}-node-${{ env.NODE_VERSION }}-playwright-v${{ env.PLAYWRIGHT_VERSION }} - - name: Install browsers - if: steps.playwright-cache.outputs.cache-hit != 'true' run: npx playwright install --with-deps - name: Build app