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+ pull_request :
5+ branches : [main, dev]
6+ push :
7+ branches : [main, dev]
8+
9+ permissions :
10+ contents : read
11+
12+ jobs :
13+ lint :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : actions/checkout@v4
17+
18+ - uses : oven-sh/setup-bun@v2
19+ with :
20+ bun-version : latest
21+
22+ - name : Install dependencies
23+ run : bun install --frozen-lockfile
24+
25+ - name : Lint
26+ run : bun run lint
27+
28+ typecheck :
29+ runs-on : ubuntu-latest
30+ steps :
31+ - uses : actions/checkout@v4
32+
33+ - uses : oven-sh/setup-bun@v2
34+ with :
35+ bun-version : latest
36+
37+ - name : Install dependencies
38+ run : bun install --frozen-lockfile
39+
40+ - name : Typecheck
41+ run : cd packages/tinycode && bun typecheck
42+
43+ test :
44+ runs-on : ubuntu-latest
45+ steps :
46+ - uses : actions/checkout@v4
47+
48+ - uses : oven-sh/setup-bun@v2
49+ with :
50+ bun-version : latest
51+
52+ - name : Install dependencies
53+ run : bun install --frozen-lockfile
54+
55+ - name : Run tests
56+ run : cd packages/tinycode && bun test --timeout 30000
You can’t perform that action at this time.
0 commit comments