diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 39c57f2..ab8804d 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -52,10 +52,13 @@ jobs: run: pnpm install --frozen-lockfile - name: Run unit tests - run: pnpm test + run: pnpm test:ci - name: Upload coverage uses: codecov/codecov-action@v4 + with: + directory: coverage + token: ${{ secrets.CODECOV_TOKEN }} build-project: name: Compile source code diff --git a/package.json b/package.json index d30e2d4..8e82af2 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,7 @@ "build:benchmarks": "tsc -b benchmarks", "build:docs": "rimraf docs/references && typedoc --plugin typedoc-plugin-markdown", "test": "vitest", + "test:ci": "vitest run --coverage --reporter=verbose", "style": "prettier --write src/**/*.ts test/**/*.ts", "lint": "eslint src test", "lint:fix": "eslint src test --fix",