Skip to content

Default to Subduction #21

Default to Subduction

Default to Subduction #21

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
check:
name: Build · Typecheck · Lint · Package · Unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 24
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build
run: pnpm run build
- name: Typecheck
run: pnpm run typecheck
- name: Lint
run: pnpm run lint
- name: Validate package (exports + types)
run: pnpm run check:package
- name: Unit tests
# Offline unit suite only. The integration tests talk to a live
# Subduction relay (network) and are run separately, not in CI.
run: pnpm exec jest test/unit --testPathIgnorePatterns repo-factory
typos:
name: Typos
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: crate-ci/typos@v1.46.3