Skip to content

Commit e2b4ed1

Browse files
committed
ci: Updated workflow
1 parent 1b40e4c commit e2b4ed1

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/e2e-components-angular-tutorials.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
uses: actions/download-artifact@v4
4141
with:
4242
name: ${{ steps.build.outputs.artifact_name }}
43-
path: './openvidu-demo-app'
43+
path: './openvidu-components-angular/openvidu-demo-app'
4444

4545
- name: Setup OpenVidu Local Deployment
4646
uses: OpenVidu/actions/start-openvidu-local-deployment@main
@@ -49,16 +49,19 @@ jobs:
4949
openvidu-edition: "community"
5050
- name: Install demo app dependencies
5151
run: |
52-
npm install openvidu-components-angular-*.tgz --prefix frontend
52+
cd openvidu-components-angular/openvidu-demo-app
53+
npm install ${{ steps.build.outputs.package_filename }} --prefix frontend
5354
npm install --prefix backend
5455
npm run build --prefix backend
5556
npm run build-prod --prefix frontend
5657
- name: Run demo app
5758
env:
58-
CALL_PRIVATE_ACCESS: false
59-
run: npm start --prefix backend &
60-
- name: Run E2E Auth tests
59+
DEMO_APP_PRIVATE_ACCESS: false
60+
run: npm start --prefix openvidu-components-angular/openvidu-demo-app/backend &
61+
- name: Run Chrome Browser
62+
run: docker run --network=host -d -p 4444:4444 selenium/standalone-chrome:127.0
63+
- name: Run E2E Home tests
6164
env:
6265
LAUNCH_MODE: CI
63-
run: npm run e2e:auth --prefix frontend
66+
run: npm run e2e:home --prefix openvidu-components-angular/openvidu-demo-app/frontend
6467

0 commit comments

Comments
 (0)