Skip to content

Commit a4f6ccc

Browse files
committed
ci: add ci script
1 parent f3d391c commit a4f6ccc

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
Check:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v6
15+
16+
- name: Install Bun
17+
uses: oven-sh/setup-bun@v2
18+
with:
19+
bun-version: 1.2.23
20+
21+
- name: Install dependencies
22+
run: bun install
23+
24+
- name: Run typecheck
25+
run: bun typecheck
26+
27+
- name: Build
28+
run: bun run build

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@
66
"outDir": "dist",
77
"strict": true,
88
"types": ["bun", "node"],
9+
"skipLibCheck": true
910
}
1011
}

0 commit comments

Comments
 (0)