ci: optimize OpenVidu Meet setup by removing redundant checkout steps and ensuring yarn installation

This commit is contained in:
Carlos Santos 2025-05-22 15:56:59 +02:00
parent a632652fd5
commit c6d4b757b4
2 changed files with 6 additions and 18 deletions

View File

@ -3,12 +3,14 @@ description: Prepara y arranca el backend de OpenVidu Meet y espera a que esté
runs:
using: "composite"
steps:
- name: Setup yarn # Needed for the redlock package
shell: bash
run: npm install -g yarn
- name: Prepare OpenVidu Meet
shell: bash
run: |
./prepare.sh
cd backend
npm install
npm run start:prod &
- name: Wait for OpenVidu Meet to Start
shell: bash

View File

@ -2,7 +2,7 @@ name: WebComponent E2E Tests
on: [push, pull_request]
jobs:
unit-test:
webcomponent-e2e-test:
name: WebComponent E2E Tests
runs-on: ov-actions-runner
steps:
@ -15,22 +15,8 @@ jobs:
- name: Checkout OpenVidu Meet
uses: actions/checkout@v4
- name: Checkout OpenVidu Local Deployment
uses: actions/checkout@v4
with:
repository: OpenVidu/openvidu-local-deployment
ref: main
path: openvidu-local-deployment
- name: Configure Local Deployment
shell: bash
run: |
cd openvidu-local-deployment/community
./configure_lan_private_ip_linux.sh
docker compose up -d
- name: Wait for OpenVidu Local Deployment to Start
run: wait-on --timeout 60000 http://localhost:7880
- name: Checkout OpenVidu Meet
uses: actions/checkout@v4
- name: Setup OpenVidu Local Deployment
uses: ./.github/actions/setup-local-deployment
- name: Setup OpenVidu Meet
shell: bash
run: |