From 959210c2e94cba9a66742c40751544c326a82afc Mon Sep 17 00:00:00 2001 From: Carlos Santos <4a.santos@gmail.com> Date: Wed, 14 May 2025 10:26:53 +0200 Subject: [PATCH] ci: set PLAYWRIGHT_BROWSERS_PATH for Playwright browser installation and test execution --- .github/workflows/wc-e2e-test.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/wc-e2e-test.yaml b/.github/workflows/wc-e2e-test.yaml index 9b1b76e..9567614 100644 --- a/.github/workflows/wc-e2e-test.yaml +++ b/.github/workflows/wc-e2e-test.yaml @@ -34,7 +34,10 @@ jobs: - name: Install Playwright browsers run: | cd frontend/webcomponent - npx playwright install --with-deps chromium + PLAYWRIGHT_BROWSERS_PATH=$HOME/ms-playwright npx playwright install --with-deps chromium + env: + PLAYWRIGHT_BROWSERS_PATH: $HOME/ms-playwright + - name: Setup OpenVidu Meet shell: bash run: | @@ -59,6 +62,7 @@ jobs: npm run test:e2e env: RUN_MODE: CI + PLAYWRIGHT_BROWSERS_PATH: $HOME/ms-playwright - name: Clean up if: always() uses: ./.github/actions/cleanup