Skip to content

Scheduling infrastructure for absolutely everyone.

ci: skip Playwright install on cache hit (#26060)

Anik Dhabal Babuf7bb2683cb1d
diff --git a/.github/actions/yarn-playwright-install/action.yml b/.github/actions/yarn-playwright-install/action.yml
index a42611aa332..de1a8c00f41 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