Skip to content

Commit 1617b0f

Browse files
committed
ci: add GitHub Actions workflow
1 parent fa7635d commit 1617b0f

2 files changed

Lines changed: 33 additions & 0 deletions

File tree

.claude/CLAUDE.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
# Nextlytics
22

33
Read `DEVELOPMENT.md` for development commands and setup.
4+
5+
Before commiting code run `bun run verify`

.github/workflows/ci.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
pull_request:
6+
workflow_dispatch:
7+
8+
jobs:
9+
verify:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
14+
- uses: oven-sh/setup-bun@v2
15+
with:
16+
bun-version: latest
17+
18+
- name: Install dependencies
19+
run: bun install --frozen-lockfile
20+
21+
- name: Typecheck
22+
run: bun run typecheck
23+
24+
- name: Lint
25+
run: bun run lint
26+
27+
- name: Format check
28+
run: bun run format:check
29+
30+
- name: Test
31+
run: bun run test

0 commit comments

Comments
 (0)