Skip to content

Commit 48de0bb

Browse files
committed
ci: add typecheck:ci script
1 parent 9367336 commit 48de0bb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
strategy:
2121
fail-fast: true
2222
matrix:
23-
script: [format, lint, typecheck]
23+
script: ["format", "lint", "typecheck:ci"]
2424

2525
steps:
2626
- name: Checkout repo

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
"now-build": "pnpm run build",
6767
"start": "next start",
6868
"typecheck": "tsc --noEmit",
69+
"typecheck:ci": "next build --no-lint && tsc --noEmit",
6970
"prepare": "husky install"
7071
},
7172
"lint-staged": {

0 commit comments

Comments
 (0)