File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Linting Check
2+ on :
3+ push :
4+ branches :
5+ - main
6+ - develop
7+ pull_request :
8+ branches :
9+ - main
10+ - develop
11+ - ' feature/**'
12+ jobs :
13+ run-linting-check :
14+ runs-on : ubuntu-latest
15+ timeout-minutes : 10
16+ steps :
17+ - name : Checkout repository
18+ uses : actions/checkout@v3
19+ - name : Set up Node.js
20+ uses : actions/setup-node@v3
21+ with :
22+ node-version : 22
23+ cache : ' pnpm'
24+ - name : Setup pnpm
25+ uses : pnpm/action-setup@v4
26+ with :
27+ version : latest
28+ - name : Install modules
29+ run : pnpm install
30+ - name : Generate Prisma client
31+ run : pnpm prisma:generate
32+ - name : Run linting check
33+ run : pnpm lint
Original file line number Diff line number Diff line change 1+ name : Prettier Check
2+ on :
3+ push :
4+ branches :
5+ - main
6+ - develop
7+ pull_request :
8+ branches :
9+ - main
10+ - develop
11+ - " feature/**"
12+ jobs :
13+ run-prettier-check :
14+ runs-on : ubuntu-latest
15+ timeout-minutes : 10
16+ steps :
17+ - name : Checkout repository
18+ uses : actions/checkout@v3
19+ - name : Set up Node.js
20+ uses : actions/setup-node@v3
21+ with :
22+ node-version : 22
23+ cache : " pnpm"
24+ - name : Setup pnpm
25+ uses : pnpm/action-setup@v4
26+ with :
27+ version : latest
28+ - name : Install modules
29+ run : pnpm install
30+ - name : Run prettier check
31+ run : pnpm prettier:check
Original file line number Diff line number Diff line change 1+ {
2+ "semi": true,
3+ "trailingComma": "none",
4+ "tabWidth": 2,
5+ "singleQuote": true,
6+ "printWidth": 125
7+ }
Original file line number Diff line number Diff line change 66 "dev" : " next dev" ,
77 "build" : " next build" ,
88 "start" : " next start" ,
9- "lint" : " eslint"
9+ "lint" : " eslint . --max-warnings=0" ,
10+ "lint:fix" : " eslint . --fix" ,
11+ "prisma:generate" : " prisma generate" ,
12+ "prettier:check" : " prettier --check ." ,
13+ "prettier:fix" : " prettier --write ."
1014 },
1115 "engines" : {
1216 "node" : " >= 22.0.0"
2529 "@types/react-dom" : " ^19" ,
2630 "eslint" : " ^9" ,
2731 "eslint-config-next" : " 15.5.2" ,
32+ "prettier" : " ^3.6.2" ,
2833 "tailwindcss" : " ^4" ,
2934 "typescript" : " ^5"
3035 }
You can’t perform that action at this time.
0 commit comments