Skip to content
This repository was archived by the owner on Sep 11, 2025. It is now read-only.

Commit acbadf3

Browse files
committed
add CI
1 parent 5adcfbe commit acbadf3

1 file changed

Lines changed: 48 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
6+
jobs:
7+
lint-and-format:
8+
name: Lint and Format
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
- uses: oven-sh/setup-bun@v2
13+
- run: bun install
14+
- run: bun run lint
15+
16+
type-check:
17+
name: Type Check
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: actions/checkout@v4
21+
- uses: oven-sh/setup-bun@v2
22+
- run: bun install
23+
- run: bun run check
24+
25+
test-unit:
26+
name: Unit Tests
27+
runs-on: ubuntu-latest
28+
steps:
29+
- uses: actions/checkout@v4
30+
- uses: oven-sh/setup-bun@v2
31+
- run: bun install
32+
- run: bun run test:unit --run
33+
34+
test-e2e:
35+
name: E2E Tests
36+
runs-on: ubuntu-latest
37+
steps:
38+
- uses: actions/checkout@v4
39+
- uses: oven-sh/setup-bun@v2
40+
- run: bun install
41+
- run: bunx playwright install --with-deps
42+
- run: bun run test:e2e
43+
- uses: actions/upload-artifact@v4
44+
if: always()
45+
with:
46+
name: playwright-report
47+
path: playwright-report/
48+
retention-days: 30

0 commit comments

Comments
 (0)