Skip to content

Commit 22749ee

Browse files
committed
ci: replace Node/npm workflow with Bun + ReScript build and test
1 parent 5a0e938 commit 22749ee

1 file changed

Lines changed: 10 additions & 14 deletions

File tree

.github/workflows/ci.yml

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,27 @@ name: CI
22

33
on:
44
push:
5-
branches:
6-
- main
5+
branches: [main, "migration/*"]
76
pull_request:
8-
branches:
9-
- main
7+
branches: [main]
108
workflow_dispatch:
119

1210
jobs:
1311
build:
1412
runs-on: ubuntu-latest
15-
1613
steps:
1714
- uses: actions/checkout@v4
1815

19-
- name: Use Node.js
20-
uses: actions/setup-node@v4
16+
- name: Setup Bun
17+
uses: oven-sh/setup-bun@v2
2118
with:
22-
node-version: "24"
23-
cache: "npm"
19+
bun-version: latest
2420

2521
- name: Install dependencies
26-
run: npm ci
22+
run: bun install --frozen-lockfile
2723

28-
- name: Run lint
29-
run: npm run lint
24+
- name: Build (ReScript compile + typecheck)
25+
run: bun run build
3026

31-
- name: Run typecheck
32-
run: npm run typecheck
27+
- name: Run tests
28+
run: bun test

0 commit comments

Comments
 (0)