Skip to content

Commit c1cf84a

Browse files
committed
add tsc check command to ci
1 parent ba98be1 commit c1cf84a

6 files changed

Lines changed: 12 additions & 4 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ jobs:
1818
run: npm ci
1919

2020
- name: Check prettier
21+
run: npm run check-fmt
22+
23+
- name: Check
2124
run: npm run check
2225

2326
- name: Run lint

chuchi-core/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"author": "Sören Meier <info@soerenmeier.ch>",
55
"type": "module",
66
"scripts": {
7-
"check": "prettier -c .",
7+
"check": "tsc --noEmit",
8+
"check-fmt": "prettier -c .",
89
"lint": "eslint ./src",
910
"build": "tsc",
1011
"watch": "tsc -w"

chuchi-legacy/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"author": "Sören Meier <info@soerenmeier.ch>",
55
"type": "module",
66
"scripts": {
7-
"check": "prettier -c .",
7+
"check": "tsc --noEmit",
8+
"check-fmt": "prettier -c .",
89
"lint": "eslint ./src",
910
"build": "tsc",
1011
"watch": "tsc -w"

chuchi-utils/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"author": "Sören Meier <info@soerenmeier.ch>",
55
"type": "module",
66
"scripts": {
7-
"check": "prettier -c .",
7+
"check": "tsc --noEmit",
8+
"check-fmt": "prettier -c .",
89
"lint": "eslint ./src",
910
"build": "tsc",
1011
"watch": "tsc -w"

chuchi/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"author": "Sören Meier <info@soerenmeier.ch>",
55
"type": "module",
66
"scripts": {
7-
"check": "prettier -c .",
7+
"check": "tsc --noEmit",
8+
"check-fmt": "prettier -c .",
89
"lint": "eslint ./src",
910
"build": "tsc",
1011
"watch": "tsc -w"

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
],
1010
"scripts": {
1111
"check": "npm run check --workspaces",
12+
"check-fmt": "npm run check-fmt --workspaces",
1213
"lint": "npm run lint --workspaces"
1314
},
1415
"devDependencies": {

0 commit comments

Comments
 (0)