Skip to content

Commit 65437e3

Browse files
committed
ci: Add GitHub Actions workflow for build and lint
This workflow automatically checks code quality by running linting and build commands on every push and pull request to the main branch.
1 parent 60d87ac commit 65437e3

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-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+
ci:
11+
name: Build and Lint
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v4
17+
18+
- name: Setup Bun
19+
uses: oven-sh/setup-bun@v1
20+
21+
- name: Install dependencies
22+
run: bun install --frozen-lockfile
23+
24+
- name: Run linting
25+
run: bun run lint
26+
27+
- name: Run build
28+
run: bun run build

0 commit comments

Comments
 (0)