Optimize Playwright installation to only use Chromium
- Modified GitHub workflow to only install Chromium browser instead of all browsers
- Speeds up CI workflow by reducing download and installation time
- Matches the existing Playwright configuration which already only uses Chromium
Co-Authored-By: sketch
'npx playwright install --with-deps' is kinda slow; can you modify things so we only install chromium
diff --git a/.github/workflows/webui_test.yml b/.github/workflows/webui_test.yml
index 86fbcc5..1964cb2 100644
--- a/.github/workflows/webui_test.yml
+++ b/.github/workflows/webui_test.yml
@@ -27,9 +27,9 @@
working-directory: ./loop/webui
run: npm ci
- - name: Install Playwright browsers
+ - name: Install Playwright Chromium
working-directory: ./loop/webui
- run: npx playwright install --with-deps
+ run: npx playwright install chromium --with-deps
- name: Run tests
working-directory: ./loop/webui