ci: set PLAYWRIGHT_BROWSERS_PATH for Playwright browser installation and test execution
This commit is contained in:
parent
7c5f1b8b23
commit
959210c2e9
6
.github/workflows/wc-e2e-test.yaml
vendored
6
.github/workflows/wc-e2e-test.yaml
vendored
@ -34,7 +34,10 @@ jobs:
|
|||||||
- name: Install Playwright browsers
|
- name: Install Playwright browsers
|
||||||
run: |
|
run: |
|
||||||
cd frontend/webcomponent
|
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
|
- name: Setup OpenVidu Meet
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
@ -59,6 +62,7 @@ jobs:
|
|||||||
npm run test:e2e
|
npm run test:e2e
|
||||||
env:
|
env:
|
||||||
RUN_MODE: CI
|
RUN_MODE: CI
|
||||||
|
PLAYWRIGHT_BROWSERS_PATH: $HOME/ms-playwright
|
||||||
- name: Clean up
|
- name: Clean up
|
||||||
if: always()
|
if: always()
|
||||||
uses: ./.github/actions/cleanup
|
uses: ./.github/actions/cleanup
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user