diff --git a/.github/workflows/codecov.yaml b/.github/workflows/codecov.yaml index 0a33750b..d6acb6c9 100644 --- a/.github/workflows/codecov.yaml +++ b/.github/workflows/codecov.yaml @@ -24,7 +24,7 @@ jobs: - name: Install CI dependencies run: npm ci - name: Run unit tests with code coverage - run: npm run ts-coverage + run: npm run coverage - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v3 env: diff --git a/package.json b/package.json index e90d9677..ae4f11d0 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ }, "scripts": { "test": "jest test", + "coverage": "jest --coverage", "ts-coverage": "typescript-coverage-report", "server": "npx ts-node src/server/server.ts" },