Skip to content

Commit

Permalink
frontend: Removed output-path in build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
CSantosM committed Sep 23, 2024
1 parent f1a60ed commit 23859d6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/openvidu-call-e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ jobs:
npm install openvidu-components-angular-*.tgz --prefix openvidu-call-front && \
npm install --prefix openvidu-call-back && \
npm run build --prefix openvidu-call-back && \
npm run prod:build --prefix openvidu-call-front
npm run build --prefix openvidu-call-front && \
mv openvidu-call-front/dist/openvidu-call/ ../openvidu-call-back/dist/public/
- name: Wait for openvidu-local-deployment
run: |
Expand Down Expand Up @@ -116,7 +117,8 @@ jobs:
npm install openvidu-components-angular-*.tgz --prefix openvidu-call-front && \
npm install --prefix openvidu-call-back && \
npm run build --prefix openvidu-call-back && \
npm run prod:build --prefix openvidu-call-front
npm run build --prefix openvidu-call-front && \
mv openvidu-call-front/dist/openvidu-call/ ../openvidu-call-back/dist/public/
- name: Wait for openvidu-local-deployment
run: |
Expand Down Expand Up @@ -160,7 +162,8 @@ jobs:
npm install openvidu-components-angular-*.tgz --prefix openvidu-call-front && \
npm install --prefix openvidu-call-back && \
npm run build --prefix openvidu-call-back && \
npm run prod:build --prefix openvidu-call-front
npm run build --prefix openvidu-call-front && \
mv openvidu-call-front/dist/openvidu-call/ ../openvidu-call-back/dist/public/
- name: Wait for openvidu-local-deployment
run: |
Expand Down Expand Up @@ -204,7 +207,8 @@ jobs:
npm install openvidu-components-angular-*.tgz --prefix openvidu-call-front && \
npm install --prefix openvidu-call-back && \
npm run build --prefix openvidu-call-back && \
npm run prod:build --prefix openvidu-call-front
npm run build --prefix openvidu-call-front && \
mv openvidu-call-front/dist/openvidu-call/ ../openvidu-call-back/dist/public/
- name: Wait for openvidu-local-deployment
run: |
Expand Down
1 change: 0 additions & 1 deletion openvidu-call-back/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
"dev": "cross-env USE_HTTPS=false TESTING_MODE=ENABLED nodemon -I --exec node --experimental-specifier-resolution=node --loader ts-node/esm ./src/server.ts",
"lint": "eslint src --fix",
"format": "prettier --ignore-path .gitignore --write '**/*.{ts,js,json,md}'",
"prepare": "npm run build",
"pack": "npm pack"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion openvidu-call-front/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"scripts": {
"dev:start": "ng serve --configuration development --port=5080 --host=0.0.0.0",
"dev:build": "./node_modules/@angular/cli/bin/ng.js build --output-path ../openvidu-call-back/public/",
"prod:build": "func() { ./node_modules/@angular/cli/bin/ng.js build --output-path ../openvidu-call-back/dist/public/ --configuration production --base-href=\"${1:-/}\"; }; func",
"build": "func() { ./node_modules/@angular/cli/bin/ng.js build --configuration production --base-href=\"${1:-/}\"; }; func",
"e2e:all": "tsc --project ./e2e && npx mocha --recursive --timeout 30000 ./e2e/dist/**/*.test.js",
"e2e:home": "tsc --project ./e2e && npx mocha --recursive --timeout 30000 ./e2e/dist/home.test.js",
"e2e:room": "tsc --project ./e2e && npx mocha --recursive --timeout 30000 ./e2e/dist/room.test.js",
Expand Down

0 comments on commit 23859d6

Please sign in to comment.