Skip to content

Commit cebf50a

Browse files
committed
ci: add GitHub Actions
1 parent 0c7caf0 commit cebf50a

File tree

2 files changed

+41
-2
lines changed

2 files changed

+41
-2
lines changed

.github/workflows/ci.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
timeout-minutes: 15
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- uses: oven-sh/setup-bun@v2
17+
with:
18+
bun-version: 1.3.5
19+
20+
- name: Install
21+
run: bun install --frozen-lockfile
22+
23+
- name: Lint
24+
run: bun run lint
25+
26+
- name: Test
27+
run: bun run test
28+
29+
- name: Coverage
30+
run: bun run coverage
31+
32+
- name: Typecheck packages
33+
run: |
34+
bunx tsc -p packages/schema/tsconfig.json --noEmit
35+
bunx tsc -p packages/clawdhub/tsconfig.json --noEmit
36+
37+
- name: Build
38+
run: bun run build
39+

docs/refactor/jan4.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313
- ~~Remove unused deps: `@radix-ui/react-slot`, `web-vitals`, `@tanstack/react-router-ssr-query` (keep `lucide-react`, used).~~
1414
- ~~Coverage:~~
1515
- ~~Add tests for `src/lib/theme-transition.ts` to meet global coverage thresholds.~~
16-
- CI:
17-
- Add GitHub Actions workflow: install, lint, test, coverage, build.
16+
- ~~CI:~~
17+
- ~~Add GitHub Actions workflow: install, lint, test, coverage, build.~~

0 commit comments

Comments
 (0)