diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index eacd15b..f27f7f7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -35,4 +35,5 @@ jobs: uses: codecov/codecov-action@v4.0.1 with: token: ${{ secrets.CODECOV_TOKEN }} + files: "backend/coverage/coverage-summary.json" slug: mairess/project-store-manager diff --git a/backend/package.json b/backend/package.json index 9847d6a..a595eef 100644 --- a/backend/package.json +++ b/backend/package.json @@ -11,7 +11,7 @@ "start": "node .", "dev": "nodemon --inspect=0.0.0.0:9229 .", "test:mocha": "mocha", - "test:coverage": "nyc --reporter=html --reporter=text npm run test:mocha", + "test:coverage": "nyc mocha", "test:mutation": "stryker run", "lint": "eslint --no-error-on-unmatched-pattern ." },