Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: CI

on:
# No branch filter: `branches` matches a pull request's base, so restricting
# it to main skipped CI entirely on stacked pull requests, which target the
# branch below them rather than main.
pull_request:
branches: [main]

permissions:
contents: read
Expand All @@ -29,9 +31,14 @@ jobs:
- name: Install dependencies
run: bun install

# Must run after the build: benchmarks/joyful.bench.ts imports from
# dist, so typecheck fails on a clean checkout without it.
- name: Build
run: bun run build

- name: Lint and typecheck
run: bun run check

- name: Run tests
run: bun test

Expand Down
Loading