Files
household-bot/docs/runbooks/dev-setup.md
Stas 6047e1c5be CI/CD: parallel quality jobs and Cloud Run deploy workflow (#3)
* ci: parallelize CI and add Cloud Run CD workflow

* ci: harden matrix task handling and CD secret checks
2026-03-05 01:13:57 +03:00

930 B

Development Setup

Requirements

  • Bun 1.3+
  • Node.js 22+

First-time setup

bun install

Workspace commands

bun run lint
bun run lint:fix
bun run format
bun run format:check
bun run typecheck
bun run test
bun run build

App commands

bun run dev:bot
bun run dev:miniapp

Review commands

bun run review:coderabbit

Notes

  • Type checking uses tsgo (@typescript/native-preview).
  • Linting uses oxlint.
  • Formatting uses oxfmt with no-semicolon style.
  • AI review uses CodeRabbit CLI in --prompt-only mode against main.

CI/CD

  • CI runs in parallel matrix jobs on push/PR to main:
    • format:check, lint, typecheck, test, build
  • CD deploys on successful main CI completion (or manual dispatch).
  • CD is enabled when GitHub secrets are configured:
    • GCP_PROJECT_ID
    • GCP_WORKLOAD_IDENTITY_PROVIDER
    • GCP_SERVICE_ACCOUNT