Skip to content

Commit 76a5a1e

Browse files
committed
feat(ci): update test step to include coverage reporting and add vitest coverage dependency
1 parent 43b81fb commit 76a5a1e

3 files changed

Lines changed: 245 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ jobs:
2121
- name: Install dependencies
2222
run: npm ci
2323

24-
- name: Run Tests
25-
run: npm run test
24+
- name: Run Tests with Coverage
25+
run: npm run test -- --coverage

package-lock.json

Lines changed: 242 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"@types/cors": "^2.8.17",
1717
"@types/express": "^5.0.0",
1818
"@types/node": "^22.9.0",
19+
"@vitest/coverage-v8": "^4.0.18",
1920
"drizzle-kit": "^0.28.1",
2021
"globals": "^15.12.0",
2122
"tsx": "^4.19.2",

0 commit comments

Comments
 (0)