ci: update Playwright browser installation path to use temporary directory

This commit is contained in:
Carlos Santos 2025-05-14 10:35:36 +02:00
parent 6591238382
commit 57b2812c63

View File

@ -34,9 +34,10 @@ jobs:
- name: Install Playwright browsers - name: Install Playwright browsers
run: | run: |
cd frontend/webcomponent cd frontend/webcomponent
PLAYWRIGHT_BROWSERS_PATH=$HOME/ms-playwright npx playwright install --with-deps chromium mkdir -p /tmp/ms-playwright
PLAYWRIGHT_BROWSERS_PATH=/tmp/ms-playwright npx playwright install --with-deps chromium
env: env:
PLAYWRIGHT_BROWSERS_PATH: $HOME/ms-playwright PLAYWRIGHT_BROWSERS_PATH: /tmp/ms-playwright
- name: Setup OpenVidu Meet - name: Setup OpenVidu Meet
shell: bash shell: bash
@ -62,7 +63,7 @@ jobs:
npm run test:e2e npm run test:e2e
env: env:
RUN_MODE: CI RUN_MODE: CI
PLAYWRIGHT_BROWSERS_PATH: $HOME/ms-playwright PLAYWRIGHT_BROWSERS_PATH: /tmp/ms-playwright
- name: Clean up - name: Clean up
if: always() if: always()
uses: ./.github/actions/cleanup uses: ./.github/actions/cleanup