Skip to content

Commit 700dfda

Browse files
committed
ci: Add GitHub Actions workflow for building and linting
1 parent 4c159fc commit 700dfda

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/test.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Build and Lint
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
build-and-test:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v4
14+
15+
- name: Use Bun
16+
- uses: oven-sh/setup-bun@v1
17+
18+
- name: Install dependencies
19+
run: bun install
20+
21+
- name: Lint
22+
run: bun lint
23+
24+
- name: Build TypeScript
25+
run: bun build

0 commit comments

Comments
 (0)