diff --git a/.github/workflows/yarn_test.yaml b/.github/workflows/yarn_test.yaml index b05c3a76..8a8e2965 100644 --- a/.github/workflows/yarn_test.yaml +++ b/.github/workflows/yarn_test.yaml @@ -28,4 +28,4 @@ jobs: - name: run tests run: | cd apps/nowcasting-app - yarn start & sleep 5 && yarn test --coverage --coverageDirectory=../.. + yarn start & sleep 5 && yarn test:ci --coverage --coverageDirectory=../.. diff --git a/apps/nowcasting-app/package.json b/apps/nowcasting-app/package.json index 2de237b0..0e8ba364 100644 --- a/apps/nowcasting-app/package.json +++ b/apps/nowcasting-app/package.json @@ -11,7 +11,7 @@ "lint": "next lint", "pre-commit": "pre-commit run", "test": "yarn dev & cypress run --browser chrome && jest && lsof -t -i :3002 | xargs kill", - "test:ci": "yarn dev & cypress run --browser chrome && jest" + "test:ci": "cypress run --browser chrome && jest" }, "dependencies": { "@auth0/nextjs-auth0": "^1.8.0",