Skip to content

CI

CI #8

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
# Weekly sanity run — catches upstream runtime / SDK drift.
- cron: '0 3 * * 1'
jobs:
test:
name: Test (${{ matrix.os }}, Node ${{ matrix.node }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
node: ['22']
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: npm
- name: Configure git identity (needed for worktree tests)
run: |
git config --global user.email "ci@ubp.dev"
git config --global user.name "ubp-ci"
git config --global init.defaultBranch main
- run: npm ci
- run: npm run test:state
- run: npm run test:orch
- run: npm run test:spec
- run: npm run test:rest