File tree Expand file tree Collapse file tree 2 files changed +38
-0
lines changed
Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Verify
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+ branches :
9+ - main
10+
11+ permissions :
12+ contents : read
13+
14+ jobs :
15+ format :
16+ runs-on : ubuntu-latest
17+ steps :
18+ - uses : actions/checkout@v6
19+ - uses : actions/setup-node@v6
20+ with :
21+ node-version : 24
22+ - uses : pnpm/action-setup@v4
23+ - run : pnpm install
24+ - run : pnpm format:ci
25+
26+ lint :
27+ runs-on : ubuntu-latest
28+ steps :
29+ - uses : actions/checkout@v6
30+ - uses : actions/setup-node@v6
31+ with :
32+ node-version : 24
33+ - uses : pnpm/action-setup@v4
34+ - run : pnpm install
35+ - run : pnpm lint:ci
Original file line number Diff line number Diff line change 5151 },
5252 "scripts" : {
5353 "format" : " prettier --write --ignore-unknown ." ,
54+ "format:ci" : " prettier --check --ignore-unknown ." ,
5455 "lint" : " oxlint --fix --type-aware --type-check --deny-warnings --report-unused-disable-directives" ,
56+ "lint:ci" : " oxlint --type-aware --type-check --deny-warnings --report-unused-disable-directives" ,
57+ "prepack" : " pnpm run '/^(format:ci|lint:ci|test|typecheck)$/'" ,
5558 "test" : " vitest run" ,
5659 "typecheck" : " tsc --noEmit"
5760 }
You can’t perform that action at this time.
0 commit comments