Skip to content

docs: move specs and ADRs under docs/ (#25) #101

docs: move specs and ADRs under docs/ (#25)

docs: move specs and ADRs under docs/ (#25) #101

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
packages: read
jobs:
unit:
name: Unit Tests
runs-on: ubuntu-latest
strategy:
matrix:
bun-version: [latest, canary]
steps:
- uses: actions/checkout@v6
- uses: oven-sh/setup-bun@v2
with:
bun-version: ${{ matrix.bun-version }}
- uses: actions/cache@v4
with:
path: ~/.bun/install/cache
key: ${{ runner.os }}-bun-${{ hashFiles('bun.lock') }}
restore-keys: ${{ runner.os }}-bun-
- run: bun install --frozen-lockfile
- run: bun run typecheck
- run: bun run build
- run: bun run test:unit:coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage/lcov.info
flags: unit
fail_ci_if_error: false
lint:
name: Format & Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: oven-sh/setup-bun@v2
- uses: actions/cache@v4
with:
path: ~/.bun/install/cache
key: ${{ runner.os }}-bun-${{ hashFiles('bun.lock') }}
restore-keys: ${{ runner.os }}-bun-
- run: bun install --frozen-lockfile
- run: bun run prettier --check .
- run: bun run docs:build