Files
claudemesh/.github/workflows/tests.yml
Alejandro Gutiérrez 45d85f5eaa
Some checks failed
CI / Lint (push) Has been cancelled
CI / Typecheck (push) Has been cancelled
CI / Broker tests (Postgres) (push) Has been cancelled
CI / Docker build (linux/amd64) (push) Has been cancelled
chore: wrap up the gap-closing session
- info/inbox commands → unified render.ts
- install route: drop in-memory counter, rely on PostHog + structured logs
- docs: roadmap, CLAUDE.md reflect alpha.31 state
- tests workflow now also builds + smoke-tests the CLI bundle
- homebrew tap bootstrap kit in packaging/homebrew-tap-bootstrap/
  (README + copy of the formula template for dropping into the tap repo)
- upstream Claude Code issue draft for rich <channel> UI

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 08:53:59 +01:00

57 lines
1.3 KiB
YAML

name: CI / Tests
on:
pull_request:
branches: ["*"]
push:
branches: ["main"]
merge_group:
workflow_dispatch:
workflow_call:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
FORCE_COLOR: "1"
NODE_VERSION: 22.x
# You can leverage Remote Caching with Turbo to speed up your builds
# @link https://turbo.build/repo/docs/guides/ci-vendors/github-actions
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
jobs:
test:
name: 🧪 Test
runs-on: ubuntu-latest
steps:
- name: ✅ Checkout code
uses: actions/checkout@v5
- name: 🔨 Setup
uses: ./tooling/github/setup
with:
node-version: ${{ env.NODE_VERSION }}
- name: 🖌️ Format
run: pnpm run format
- name: 🛻 Lint
run: pnpm run lint && pnpm run lint:ws
- name: 📝 Typecheck
run: pnpm run typecheck
- name: 🧪 Test
run: pnpm run test
- name: 📦 Build CLI bundle (check size budget)
working-directory: apps/cli
run: pnpm run build
- name: 🔧 CLI smoke — --version + --help
run: |
node apps/cli/dist/entrypoints/cli.js --version
node apps/cli/dist/entrypoints/cli.js --help | head -5