Skip to content

Commit 2dd343b

Browse files
committed
Add Codecov
1 parent cbf6aef commit 2dd343b

3 files changed

Lines changed: 152 additions & 4 deletions

File tree

.github/workflows/test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,8 @@ jobs:
2121
cache: pnpm
2222

2323
- run: pnpm install --frozen-lockfile
24-
- run: pnpm test
24+
- run: pnpm test --coverage
25+
- name: Upload coverage reports to Codecov
26+
uses: codecov/codecov-action@v5
27+
with:
28+
token: ${{ secrets.CODECOV_TOKEN }}

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@
5151
"@eslint/js": "^9.39.2",
5252
"@tailwindcss/forms": "^0.5.10",
5353
"@tailwindcss/postcss": "^4.1.18",
54+
"@testing-library/jest-dom": "^6.8.0",
55+
"@testing-library/react": "^16.3.0",
56+
"@vitest/coverage-v8": "^4.0.18",
5457
"eslint": "^9.25.1",
5558
"eslint-config-next": "^15.5.11",
5659
"eslint-config-prettier": "^10.1.8",
@@ -59,8 +62,6 @@
5962
"eslint-plugin-prettier": "^5.5.4",
6063
"eslint-plugin-react": "^7.37.4",
6164
"eslint-plugin-react-hooks": "^5.2.0",
62-
"@testing-library/jest-dom": "^6.8.0",
63-
"@testing-library/react": "^16.3.0",
6465
"jsdom": "^26.1.0",
6566
"postcss": "^8.5.6",
6667
"prettier": "^3.7.3",

pnpm-lock.yaml

Lines changed: 144 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)