From f7bb2683cb1d97580d68a79306f76e8b20ea1a48 Mon Sep 17 00:00:00 2001 From: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com> Date: Sun, 21 Dec 2025 19:28:41 +0530 Subject: [PATCH] ci: skip Playwright install on cache hit (#26060) * update * Add cache-db action to e2e workflow * fix: remove cache-db from prepare job (requires Postgres service) The prepare job doesn't have a Postgres service container, so cache-db was failing with 'connection refused' when trying to run psql. cache-db should only run in the e2e shards which have the Postgres service. Co-Authored-By: anik@cal.com * update * Update e2e.yml * Add newline at end of e2e.yml file * fix * Fix indentation in e2e.yml for retention-days --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- .github/actions/yarn-playwright-install/action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/actions/yarn-playwright-install/action.yml b/.github/actions/yarn-playwright-install/action.yml index a42611aa33..de1a8c00f4 100644 --- a/.github/actions/yarn-playwright-install/action.yml +++ b/.github/actions/yarn-playwright-install/action.yml @@ -17,5 +17,6 @@ runs: ${{ github.workspace }}/node_modules/playwright key: ${{ runner.os }}-playwright-${{ env.PLAYWRIGHT_VERSION }} - name: Yarn playwright install + if: steps.playwright-cache.outputs.cache-hit != 'true' shell: bash run: yarn playwright install --with-deps