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 <adhabal2002@gmail.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>
This commit is contained in:
co-authored by
anik@cal.com <adhabal2002@gmail.com>
Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
parent
83ee986bbd
commit
f7bb2683cb
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user