Skip to content

Commit

Permalink
feat: add coverage (#290)
Browse files Browse the repository at this point in the history
  • Loading branch information
anhnd350309 authored Dec 29, 2024
1 parent d6e3dfa commit 87bb515
Show file tree
Hide file tree
Showing 6 changed files with 376 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,7 @@ jobs:
run: |
pnpm install --no-frozen-lockfile
pnpm ci-test
- shell: bash
run: |
pnpm run coverage
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ docs/
node_modules/

**/tsconfig.tsbuildinfo
coverage/*
.vscode/*
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"build:packages": "pnpm --filter '@ts-drp/*' build",
"clean": "pnpm --filter '@ts-drp/*' clean && rm -r node_modules/ docs/",
"cli": "tsx ./packages/node/src/run.ts",
"coverage": "pnpm exec ts-node scripts/coverage.ts",
"docs": "typedoc",
"postinstall": "pnpm build:packages",
"proto-gen": "pnpm proto-gen:object && pnpm proto-gen:network",
Expand All @@ -34,8 +35,10 @@
"@biomejs/biome": "^1.8.3",
"@release-it-plugins/workspaces": "^4.2.0",
"@types/node": "^22.5.4",
"@vitest/coverage-v8": "2.1.8",
"assemblyscript": "^0.27.29",
"release-it": "^17.6.0",
"ts-node": "^10.9.2",
"ts-proto": "^2.2.4",
"tsx": "4.19.1",
"typedoc": "^0.26.6",
Expand Down
Loading

0 comments on commit 87bb515

Please sign in to comment.