Skip to content

Commit d88a1c1

Browse files
committed
ci: add comprehensive CI workflow with test automation
- Add CI workflow that runs on pushes to master and PR events - Include PR synchronization trigger as requested - Run linting, type checking, tests, and build steps - Use Bun setup consistent with existing release workflow - Fix branch name to use 'master' instead of 'main'
1 parent d60f49c commit d88a1c1

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/ci.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
types: [opened, synchronize, reopened]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- uses: oven-sh/setup-bun@v2
16+
with:
17+
bun-version: latest
18+
19+
- name: Install dependencies
20+
run: bun install
21+
22+
- name: Run linter
23+
run: bun run lint
24+
25+
- name: Run type check
26+
run: bun run typecheck
27+
28+
- name: Run tests
29+
run: bun test
30+
31+
- name: Build
32+
run: bun run build

0 commit comments

Comments
 (0)