File tree Expand file tree Collapse file tree 5 files changed +79
-1
lines changed
Expand file tree Collapse file tree 5 files changed +79
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Next.js Build
2+
3+ on :
4+ pull_request :
5+ branches : [main, master]
6+ push :
7+ branches : [main, master]
8+
9+ jobs :
10+ build :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v3
14+ - uses : actions/setup-node@v3
15+ with :
16+ node-version : 18
17+ cache : ' npm'
18+ - run : npm install
19+ - run : npm run build
Original file line number Diff line number Diff line change 1+ name : ESLint Check
2+
3+ on :
4+ pull_request :
5+ branches : [main, master]
6+ push :
7+ branches : [main, master]
8+
9+ jobs :
10+ eslint :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v3
14+ - uses : actions/setup-node@v3
15+ with :
16+ node-version : 18
17+ cache : ' npm'
18+ - run : npm install
19+ - run : npm run lint
Original file line number Diff line number Diff line change 1+ name : Prettier Check
2+
3+ on :
4+ pull_request :
5+ branches : [main, master]
6+ push :
7+ branches : [main, master]
8+
9+ jobs :
10+ prettier :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v3
14+ - uses : actions/setup-node@v3
15+ with :
16+ node-version : 18
17+ cache : ' npm'
18+ - run : npm install
19+ - run : npm run prettier:check
Original file line number Diff line number Diff line change 1+ name : TypeScript Check
2+
3+ on :
4+ pull_request :
5+ branches : [main, master]
6+ push :
7+ branches : [main, master]
8+
9+ jobs :
10+ type-check :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v3
14+ - uses : actions/setup-node@v3
15+ with :
16+ node-version : 18
17+ cache : ' npm'
18+ - run : npm install
19+ - run : npm run type-check
Original file line number Diff line number Diff line change 66 "dev" : " next dev --turbopack" ,
77 "build" : " next build --turbopack" ,
88 "start" : " next start" ,
9- "lint" : " eslint"
9+ "lint" : " next lint" ,
10+ "prettier:check" : " prettier --check ." ,
11+ "type-check" : " tsc --noEmit"
1012 },
1113 "dependencies" : {
1214 "class-variance-authority" : " ^0.7.1" ,
You can’t perform that action at this time.
0 commit comments