File tree Expand file tree Collapse file tree 2 files changed +30
-0
lines changed
Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : ['**']
6+ pull_request :
7+ branches : [main]
8+
9+ jobs :
10+ lint-format :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Checkout code
14+ uses : actions/checkout@v4
15+
16+ - name : Setup Node.js
17+ uses : actions/setup-node@v4
18+ with :
19+ node-version : ' 22'
20+ cache : ' yarn'
21+
22+ - name : Install dependencies
23+ run : yarn install --frozen-lockfile
24+
25+ - name : Run ESLint
26+ run : yarn lint
27+
28+ - name : Run Prettier check
29+ run : yarn format
Original file line number Diff line number Diff line change 77 "build" : " next build" ,
88 "start" : " next start -p 3232" ,
99 "lint" : " next lint" ,
10+ "lint:fix" : " next lint --fix" ,
1011 "format" : " prettier --check ." ,
1112 "format:fix" : " prettier --write ." ,
1213 "analyze" : " cross-env ANALYZE=true next build" ,
You can’t perform that action at this time.
0 commit comments