Skip to content

Commit

Permalink
openvidu-components: Build openvidu-browser in CI job
Browse files Browse the repository at this point in the history
  • Loading branch information
CSantosM committed May 12, 2022
1 parent 185ea7a commit d3a755b
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/openvidu-components-angular-E2E.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: openvidu-angular E2E
name: openvidu-components-angular E2E
on:
push:
paths:
- 'openvidu-components-angular/**'
- 'openvidu-browser/**'
pull_request:
branches:
- master
Expand All @@ -23,6 +24,16 @@ 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
npm install openvidu-browser-*.tgz
- name: Install dependencies
run: npm install --prefix openvidu-components-angular
- name: Build openvidu-angular
Expand All @@ -31,11 +42,11 @@ jobs:
run: npm run webcomponent:build --prefix openvidu-components-angular
- name: Build openvidu-angular-testapp
run: npm run build --prefix openvidu-components-angular
- name: Run Angular Testapp
- name: Serve openvidu-angular-testapp
run: npm run start-prod --prefix openvidu-components-angular &
- name: Run Angular E2E
- name: Run openvidu-angular E2E
run: npm run lib:e2e-ci --prefix openvidu-components-angular
- name: Run Webcomponent Testapp
- name: Serve Webcomponent Testapp
run: npm run webcomponent:serve-testapp --prefix openvidu-components-angular &
- name: Run Webcomponent E2E
run: npm run webcomponent:e2e-ci --prefix openvidu-components-angular

0 comments on commit d3a755b

Please sign in to comment.