Skip to content

Commit 9d809bc

Browse files
committed
Add CI workflow: typecheck, test, build
1 parent 2f0f1c9 commit 9d809bc

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/ci.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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+
- uses: actions/checkout@v4
14+
15+
- uses: actions/setup-node@v4
16+
with:
17+
node-version: 22
18+
cache: npm
19+
20+
- run: npm ci
21+
22+
- name: Typecheck
23+
run: npm run typecheck
24+
25+
- name: Test
26+
run: npm test
27+
28+
- name: Build client
29+
run: npm run build

0 commit comments

Comments
 (0)