Skip to content

Commit 3f8d9cd

Browse files
committed
ci: add typecheck
1 parent 63bb21f commit 3f8d9cd

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/unit-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ jobs:
2323
run: nci
2424

2525
- name: Lint
26-
run: nr lint
26+
run: nr lint --max-warnings=0
2727

28-
- name: Format
29-
run: nr format --check
28+
- name: Typecheck
29+
run: nr typecheck
3030

3131
unit_test:
3232
runs-on: ${{ matrix.os }}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
"lint": "eslint --cache .",
5252
"lint:fix": "pnpm run lint --fix",
5353
"format": "prettier --cache --write .",
54+
"typecheck": "tsc --noEmit",
5455
"test": "vitest",
5556
"test:deno": "cd tests/deno && deno run --allow-net --import-map=import_map.json --allow-env index.ts",
5657
"release": "bumpp && pnpm publish",

0 commit comments

Comments
 (0)