Skip to content

ci: add CI/CD pipeline, semantic versioning, and npm publishing #2

ci: add CI/CD pipeline, semantic versioning, and npm publishing

ci: add CI/CD pipeline, semantic versioning, and npm publishing #2

Workflow file for this run

name: CI
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- run: bun install --frozen-lockfile
- name: Lint
run: bunx biome check src/ tests/ scripts/
- name: Type check
run: bunx tsc --noEmit
- name: Test
run: bun test
- name: Build
run: bun run build