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 : CI
2+
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+ branches : [main]
8+
9+ concurrency :
10+ group : ${{ github.workflow }}-${{ github.ref }}
11+ cancel-in-progress : true
12+
13+ jobs :
14+ lint :
15+ name : Lint & Format
16+ runs-on : ubuntu-latest
17+ steps :
18+ - uses : actions/checkout@v4
19+ - uses : actions/setup-node@v4
20+ with :
21+ node-version-file : .nvmrc
22+ cache : npm
23+ - run : npm ci
24+ - run : npm run format:check
25+ - run : npm run lint
26+
27+ typecheck :
28+ name : Typecheck
29+ runs-on : ubuntu-latest
30+ steps :
31+ - uses : actions/checkout@v4
32+ - uses : actions/setup-node@v4
33+ with :
34+ node-version-file : .nvmrc
35+ cache : npm
36+ - run : npm ci
37+ - run : npx tsc --noEmit
38+
39+ test :
40+ name : Test
41+ runs-on : ubuntu-latest
42+ steps :
43+ - uses : actions/checkout@v4
44+ - uses : actions/setup-node@v4
45+ with :
46+ node-version-file : .nvmrc
47+ cache : npm
48+ - run : npm ci
49+ - run : npm test
50+
51+ build :
52+ name : Build
53+ runs-on : ubuntu-latest
54+ needs : [lint, typecheck, test]
55+ steps :
56+ - uses : actions/checkout@v4
57+ - uses : actions/setup-node@v4
58+ with :
59+ node-version-file : .nvmrc
60+ cache : npm
61+ - run : npm ci
62+ - run : npm run build:only
Original file line number Diff line number Diff line change 1+ {
2+ "recommendations" : [
3+ " oxc.oxc-vscode"
4+ ],
5+ }
You can’t perform that action at this time.
0 commit comments