Skip to content

Commit

Permalink
ci(github): attempt to fix coverage uploads
Browse files Browse the repository at this point in the history
  • Loading branch information
jo3-l committed Aug 4, 2024
1 parent 7ead9e3 commit 4f56dae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 4f56dae

Please sign in to comment.