Skip to content

chore: regenerate schema from upstream spec #126

chore: regenerate schema from upstream spec

chore: regenerate schema from upstream spec #126

Workflow file for this run

name: CI
on:
push:
branches: [main, v7]
pull_request:
branches: [main, v7]
# Re-run CI against a ref by hand. Convenience only.
#
# This was added to let the spec-drift job start its own CI, on the reasoning
# that workflow_dispatch is a documented exception to "GITHUB_TOKEN-raised
# events do not start workflow runs". The run does start — but measured
# against a real PR, its check runs do not satisfy branch protection, even
# sitting on the PR head SHA with the exact required names and a check suite
# reporting as linked to the PR. A push-event run on the next commit cleared
# the same PR immediately. Drift therefore pushes as a GitHub App instead;
# see spec-drift.yml. Kept because dispatching CI by hand is still useful.
workflow_dispatch:
jobs:
test:
name: Test (Node ${{ matrix.node }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node: [20, 22, 24]
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v7
with:
node-version: ${{ matrix.node }}
cache: npm
- run: npm ci
- run: npm run lint
- run: npx prettier --check .
- run: npm run typecheck
- run: npm run build
- run: npm test