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
|
run: wait-on --timeout 60000 http://localhost:7880
|
||||||
- name: Checkout OpenVidu Meet
|
- name: Checkout OpenVidu Meet
|
||||||
uses: actions/checkout@v4
|
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
|
- name: Setup OpenVidu Meet
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
@ -62,6 +52,9 @@ jobs:
|
|||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
cd frontend/webcomponent
|
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
|
npm run test:e2e
|
||||||
env:
|
env:
|
||||||
RUN_MODE: CI
|
RUN_MODE: CI
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user