Skip to content

Commit d33ddf1

Browse files
committed
ci: add typescript check to workflow
1 parent 642f9f2 commit d33ddf1

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/tests.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,8 @@ jobs:
2222
- name: Install dependencies
2323
run: npm install
2424

25+
- name: Type check
26+
run: npm run typecheck
27+
2528
- name: Run tests
26-
run: npm test
29+
run: npm test

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"scripts": {
77
"test": "vitest",
88
"test:watch": "vitest --watch",
9-
"test:coverage": "vitest --coverage"
9+
"test:coverage": "vitest --coverage",
10+
"typecheck": "tsc --noEmit"
1011
},
1112
"author": "Mason L'Etoile",
1213
"license": "MIT",

0 commit comments

Comments
 (0)