diff --git a/.github/workflows/openvidu-call-e2e-test.yml b/.github/workflows/openvidu-call-e2e-test.yml index b534b649..1872edca 100644 --- a/.github/workflows/openvidu-call-e2e-test.yml +++ b/.github/workflows/openvidu-call-e2e-test.yml @@ -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: | @@ -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: | @@ -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: | @@ -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: | diff --git a/openvidu-call-back/package.json b/openvidu-call-back/package.json index 2dfa3792..3810104b 100644 --- a/openvidu-call-back/package.json +++ b/openvidu-call-back/package.json @@ -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": { diff --git a/openvidu-call-front/package.json b/openvidu-call-front/package.json index 3c465b38..ec4422bd 100644 --- a/openvidu-call-front/package.json +++ b/openvidu-call-front/package.json @@ -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",