Skip to content

Commit c9b1e6f

Browse files
committed
feat: add repo rules and CI workflow
1 parent 566880f commit c9b1e6f

File tree

3 files changed

+728
-2813
lines changed

3 files changed

+728
-2813
lines changed

.github/workflows/cli.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
branches: [main]
6+
push:
7+
branches: [main]
8+
9+
jobs:
10+
build:
11+
name: Build & Test
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout repo
16+
uses: actions/checkout@v4
17+
18+
- name: Setup Bun
19+
uses: oven-sh/setup-bun@v1
20+
with:
21+
bun-version: latest
22+
23+
- name: Install dependencies
24+
run: bun install
25+
26+
- name: Run lint
27+
run: bun run lint
28+
continue-on-error: true
29+
30+
- name: Run tests
31+
run: bun test
32+
continue-on-error: true
33+
34+
- name: Build project
35+
run: bun run build

0 commit comments

Comments
 (0)