Skip to content

A platform for community discussion. Free, open, simple.

PERF: Reuse pre-installed playwright chromium in CI (#40214)

Alan Guo Xiang Tanc289a838fca5
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 9c7db13a6c5..742c9ca5d9d 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -60,6 +60,7 @@ jobs:
EMBER_ENV: development
LOAD_PLUGINS: ${{ (matrix.target == 'core-plugins' || matrix.target == 'official-plugins' || matrix.target == 'plugins' || matrix.target == 'chat') && '1' || '0' }}
QUNIT_REUSE_BUILD: 1
+ PLAYWRIGHT_BROWSERS_PATH: /home/discourse/.cache/ms-playwright
strategy:
fail-fast: false
@@ -301,10 +302,6 @@ jobs:
name: ember-exam-execution-${{ matrix.target }}-${{ matrix.browser }}-frontend-${{ hashFiles('./frontend/discourse/test-execution-*.json') }}
path: ./frontend/discourse/test-execution-*.json
- - name: Install playwright
- if: matrix.build_type == 'system'
- run: pnpm playwright install --with-deps --no-shell chromium
-
- name: Core System Tests
if: matrix.build_type == 'system' && matrix.target == 'core'
env: