Skip to content

Commit 693756d

Browse files
authored
Add coverage checking with c8 (#34)
1 parent e7a0514 commit 693756d

File tree

25 files changed

+532
-157
lines changed

25 files changed

+532
-157
lines changed

.github/workflows/test.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,19 @@ jobs:
2929
- run: npm ci
3030
- run: npm run lint
3131
- run: npm test
32+
33+
coverage:
34+
runs-on: ubuntu-latest
35+
36+
steps:
37+
- uses: actions/checkout@v4
38+
- uses: actions/setup-node@v4
39+
with:
40+
node-version: 23.x
41+
- run: npm ci
42+
- run: npm run build
43+
- run: npm run coverage:check
44+
3245
exports:
3346
runs-on: ubuntu-latest
3447

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
_site
2+
coverage
23
lib
34
node_modules
45
tmp

0 commit comments

Comments
 (0)