Skip to content

M6 seal — invariants #23–#29 (channel-adapter architecture) #71

M6 seal — invariants #23–#29 (channel-adapter architecture)

M6 seal — invariants #23–#29 (channel-adapter architecture) #71

Workflow file for this run

# CI for the `grey` monorepo.
# NO auto-deploy to VPS — this workflow only lints, typechecks, tests, and (on main) builds.
# Deployment to the VPS is a manual, separately-authorized step (Movement 5 / Step 8).
name: CI
on:
pull_request:
push:
branches: [main]
jobs:
verify:
name: lint · typecheck · test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v6 # reads packageManager from package.json
- uses: actions/setup-node@v6
with:
node-version-file: .node-version
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm lint
- run: pnpm typecheck
- run: pnpm test
codegen-drift:
name: codegen-drift (@grey/schemas generated output is committed)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v6 # reads packageManager from package.json
- uses: actions/setup-node@v6
with:
node-version-file: .node-version
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm -C packages/grey-schemas codegen
- run: git diff --exit-code packages/grey-schemas/src/generated/
build:
name: build (main only)
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v6
- uses: actions/setup-node@v6
with:
node-version-file: .node-version
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm build