Skip to content

Commit 3b19d4b

Browse files
committed
use my custom check func
1 parent a0c433c commit 3b19d4b

File tree

3 files changed

+102
-8
lines changed

3 files changed

+102
-8
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,9 @@ jobs:
3939
- name: Install dependencies
4040
run: pnpm install --frozen-lockfile
4141

42-
- name: Lint and Format Check
42+
- name: Lint, format and typecheck
4343
run: |
44-
pnpm run lint & \
45-
pnpm run format:check & \
46-
wait
47-
48-
- name: Type check
49-
run: pnpm run typecheck
44+
pnpm run check
5045
5146
build:
5247
runs-on: ubuntu-latest

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"scripts": {
66
"build": "next build",
7-
"check": "next lint && tsc --noEmit && pnpm run format:check",
7+
"check": "concurrently --names \"lint,typecheck,format\" --prefix-colors \"yellow,blue,green\" \"next lint\" \"tsc --noEmit\" \"pnpm run format:check\"",
88
"dev": "next dev --turbo",
99
"lint": "next lint",
1010
"lint:fix": "next lint --fix",
@@ -28,6 +28,7 @@
2828
"@types/react-dom": "npm:[email protected]",
2929
"@typescript-eslint/eslint-plugin": "^8.13.0",
3030
"@typescript-eslint/parser": "^8.13.0",
31+
"concurrently": "^9.1.0",
3132
"eslint": "^8",
3233
"eslint-config-next": "15.0.0-rc.1",
3334
"prettier": "^3.3.3",

pnpm-lock.yaml

Lines changed: 98 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)