diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a72a4ec..52e9e3d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,8 +16,5 @@ jobs: # build: npm run e2e # start: npm run e2e # por el momento no funciona - - name: build - run: | - npm install - npm run e2e + \ No newline at end of file diff --git a/package.json b/package.json index 43b9716..5f3c655 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "stop:frontend": "./scripts/stop-frontend.sh", "stop:all": "npm run stop:frontend && npm run stop:backend", "cy:run": "cypress run --browser chrome --spec ./cypress/e2e/2-tareaCicloFeliz.cy.js", - "e2e": "npm run start:backend && npm run start:frontend && wait-on http://localhost:4200 && npm run cy:run" + "e2e": "npm run start:backend && start-server-and-test start:frontend http://localhost:4200 cy:run" }, "devDependencies": { "@eslint/js": "^9.15.0", @@ -17,7 +17,6 @@ "eslint": "^9.15.0", "eslint-plugin-cypress": "^4.1.0", "globals": "^15.12.0", - "start-server-and-test": "^2.0.8", - "wait-on": "^8.0.1" + "start-server-and-test": "^2.0.8" } }