From 7fe1145ebe9a293ef3e41f3e677db482249c0752 Mon Sep 17 00:00:00 2001 From: csantosm <4a.santos@gmail.com> Date: Thu, 12 May 2022 10:09:39 +0200 Subject: [PATCH] openvidu-components: Build openvidu-browser in CI job --- .github/workflows/openvidu-components-angular-E2E.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/openvidu-components-angular-E2E.yml b/.github/workflows/openvidu-components-angular-E2E.yml index 098758238ed..478bd8cca2e 100644 --- a/.github/workflows/openvidu-components-angular-E2E.yml +++ b/.github/workflows/openvidu-components-angular-E2E.yml @@ -23,6 +23,17 @@ jobs: run: docker run -d --shm-size="2g" --network host selenium/standalone-chrome:latest - name: Run openvidu-server-kms run: docker run -p 4443:4443 --rm -d -e OPENVIDU_SECRET=MY_SECRET openvidu/openvidu-server-kms:latest + - name: Build openvidu-browser + run: | + cd openvidu-browser + npm install + npm run build && npm pack + mv openvidu-browser-*.tgz ../openvidu-components-angular + - name: Install openvidu-browser + run: | + cd openvidu-components-angular + ls -al + npm install openvidu-browser-*.tgz - name: Install dependencies run: npm install --prefix openvidu-components-angular - name: Build openvidu-angular