From 89b195dc136d0de85cb8dd0538065a6ec99987fe Mon Sep 17 00:00:00 2001 From: Chenlei Hu Date: Tue, 23 Jul 2024 14:21:26 -0400 Subject: [PATCH] Only install chromium in github action (#210) --- .github/workflows/test-browser-exp.yaml | 2 +- .github/workflows/test-ui.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-browser-exp.yaml b/.github/workflows/test-browser-exp.yaml index 1aa5666e4..a42440f38 100644 --- a/.github/workflows/test-browser-exp.yaml +++ b/.github/workflows/test-browser-exp.yaml @@ -50,7 +50,7 @@ jobs: wait-for-it --service 127.0.0.1:8188 -t 600 working-directory: ComfyUI - name: Install Playwright Browsers - run: npx playwright install --with-deps + run: npx playwright install chromium --with-deps working-directory: ComfyUI_frontend - name: Run Playwright tests and update snapshots id: playwright-tests diff --git a/.github/workflows/test-ui.yaml b/.github/workflows/test-ui.yaml index 1a065ea95..dc70fee5e 100644 --- a/.github/workflows/test-ui.yaml +++ b/.github/workflows/test-ui.yaml @@ -74,7 +74,7 @@ jobs: npm test -- --verbose working-directory: ComfyUI_frontend - name: Install Playwright Browsers - run: npx playwright install --with-deps + run: npx playwright install chromium --with-deps working-directory: ComfyUI_frontend - name: Run Playwright tests run: npx playwright test