ci: move Playwright browser installation to test execution step
This commit is contained in:
parent
6b13870fc1
commit
81aea14b76
13
.github/workflows/wc-e2e-test.yaml
vendored
13
.github/workflows/wc-e2e-test.yaml
vendored
@ -31,16 +31,6 @@ jobs:
|
||||
run: wait-on --timeout 60000 http://localhost:7880
|
||||
- name: Checkout OpenVidu Meet
|
||||
uses: actions/checkout@v4
|
||||
- name: Install Playwright browsers
|
||||
run: |
|
||||
cd frontend/webcomponent
|
||||
npm install
|
||||
# Install Playwright browsers
|
||||
mkdir -p /tmp/ms-playwright
|
||||
PLAYWRIGHT_BROWSERS_PATH=/tmp/ms-playwright npx playwright install --with-deps chromium
|
||||
env:
|
||||
PLAYWRIGHT_BROWSERS_PATH: /tmp/ms-playwright
|
||||
|
||||
- name: Setup OpenVidu Meet
|
||||
shell: bash
|
||||
run: |
|
||||
@ -62,6 +52,9 @@ jobs:
|
||||
- name: Run tests
|
||||
run: |
|
||||
cd frontend/webcomponent
|
||||
# Install Playwright browsers
|
||||
mkdir -p /tmp/ms-playwright
|
||||
PLAYWRIGHT_BROWSERS_PATH=/tmp/ms-playwright npx playwright install --with-deps chromium
|
||||
npm run test:e2e
|
||||
env:
|
||||
RUN_MODE: CI
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user