Skip to content

Commit e7dfbbf

Browse files
Add GitHub Actions CI workflow
Run lint and build on pushes to main and pull requests.
1 parent c0aae8f commit e7dfbbf

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
ci:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- uses: oven-sh/setup-bun@v2
17+
18+
- name: Install dependencies
19+
run: bun install --frozen-lockfile
20+
21+
- name: Lint
22+
run: bun run lint
23+
24+
- name: Typecheck & Build
25+
run: bun run build

0 commit comments

Comments
 (0)