# Canonical CI/CD config for hanzoai/brand — the one file both the hanzoai/ci # reusable (.hanzo/workflows/cicd.yml) and platform.hanzo.ai read. # # @hanzo/brand is an npm package; the static brand site it also carries is the # image declared at the end of this file, built by the build door. # # The gate is the package's own: type-check, then `pnpm test`, which builds all # seven tsup entries and then runs the node:test suites against the result. The # two suites are the ones that matter for a brand registry — brand.json # consistency (the data file agreeing with itself) and the registry surface — # so a token added to the JSON without a registry entry, or the reverse, is red. test: - name: build run: | set -e corepack enable pnpm install --frozen-lockfile pnpm type-check pnpm test # Built by the build door, one BuildKit Job per platform. images: - name: brand context: . dockerfile: Dockerfile repo: ghcr.io/hanzoai/brand platforms: [linux/amd64]