File tree Expand file tree Collapse file tree 3 files changed +36
-1
lines changed
Expand file tree Collapse file tree 3 files changed +36
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Run Tests
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ pull_request :
8+ branches :
9+ - master
10+
11+ concurrency :
12+ group : ${{ github.workflow }}-${{ github.ref }}
13+ cancel-in-progress : true
14+
15+ jobs :
16+ typecheck :
17+ name : Typecheck
18+ runs-on : ubuntu-latest
19+ steps :
20+ - uses : actions/checkout@v4
21+ - name : Install pnpm
22+ uses : pnpm/action-setup@v4
23+ with :
24+ version : 10
25+ - name : Setup Node.js
26+ uses : actions/setup-node@v4
27+ with :
28+ node-version-file : .nvmrc
29+ cache : " pnpm"
30+ - name : Install dependencies
31+ run : pnpm install
32+ - name : Run typecheck
33+ run : pnpm run typecheck
Original file line number Diff line number Diff line change 1+ v22
Original file line number Diff line number Diff line change 1212 "fast-start" : " node dist/main.js configs/config.yaml" ,
1313 "build" : " npm run clean && npm run fast-build" ,
1414 "fast-build" : " swc src -d dist --strip-leading-paths" ,
15- "clean" : " rm -rf dist"
15+ "clean" : " rm -rf dist" ,
16+ "typecheck" : " tsc --noEmit"
1617 },
1718 "repository" : {
1819 "type" : " git" ,
You can’t perform that action at this time.
0 commit comments