There was an error while loading. Please reload this page.
2 parents f36d770 + 725bdd1 commit cb71fd3Copy full SHA for cb71fd3
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,40 @@
1
+name: CI
2
+
3
+on:
4
+ pull_request:
5
+ push:
6
+ branches:
7
+ - main
8
9
+jobs:
10
+ cli:
11
+ name: CLI
12
+ runs-on: ubuntu-latest
13
14
+ defaults:
15
+ run:
16
+ working-directory: cli
17
18
+ steps:
19
+ - name: Checkout
20
+ uses: actions/checkout@v4
21
22
+ - name: Setup Bun
23
+ uses: oven-sh/setup-bun@v2
24
+ with:
25
+ bun-version: 1.3.13
26
27
+ - name: Install dependencies
28
+ run: bun install --frozen-lockfile
29
30
+ - name: Run tests
31
+ run: bun run test
32
33
+ - name: Check formatting and lint
34
+ run: bunx biome check src tests
35
36
+ - name: Typecheck
37
+ run: bunx tsc --noEmit
38
39
+ - name: Build
40
+ run: bun run build
0 commit comments