ci: add workflow for WebComponent E2E tests

This commit is contained in:
Carlos Santos 2025-05-13 13:12:33 +02:00
parent 63c45ca564
commit 6cc13d1ed1

28
.github/workflows/wc-e2e-test.yaml vendored Normal file
View File

@ -0,0 +1,28 @@
name: WebComponent E2E Tests
on: [push, pull_request]
jobs:
unit-test:
name: WebComponent E2E Tests
runs-on: ov-actions-runner
steps:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Checkout OpenVidu Meet
uses: actions/checkout@v4
- name: Setup OpenVidu Meet WebComponent
shell: bash
run: |
./prepare.sh
cd frontend/webcomponent
npm install
- name: Run tests
run: |
cd frontend/webcomponent
npm run test:e2e
- name: Clean up
if: always()
uses: ./.github/actions/cleanup