Skip to content

Fixes

Fixes #218

Workflow file for this run

name: Check
on: [push, pull_request]
jobs:
typecheck:
name: Typecheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- run: pnpm run typecheck
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
with:
shell: lint
- run: pnpm run lint
fmt:
name: Check formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
with:
shell: lint
- run: pnpm run fmt
test-nodejs:
name: Test (Node.js)
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
shell: [latest, lts]
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
with:
shell: nodejs-${{ matrix.shell }}
- run: pnpm run test --coverage
test:
name: Test (Bun)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
with:
shell: bun-latest
- run: bun test --coverage ./test/*
docs:
name: Docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- run: pnpm run docs-ci