Files
zeekayandHanzo Dev a0965e6f60 ci: canonical pair — hanzo.yml + forge caller
github.com has no runner for hanzo-build-linux-amd64, so a caller under
.github/workflows is a gate that can never be scheduled. This is the ~7-line
caller on the plane that can (git.hanzo.ai git-runner fleet), pinned @v1.

Co-authored-by: Hanzo Dev <[email protected]>
2026-08-06 02:39:47 -07:00

21 lines
1.1 KiB
YAML

# Canonical CI/CD config for hanzoai/esbuild — read by the hanzoai/ci reusable
# workflow (.hanzo/workflows/cicd.yml) and by platform.hanzo.ai.
#
# LIBRARY: the esbuild bundler — a Go module plus the npm packages under npm/
# that wrap the compiled binary. No image, no deploy.
#
# The gate is the repo's own `test-go` + `vet-go` targets: `go test
# ./internal/... ./pkg/...` and `go vet ./cmd/... ./internal/... ./pkg/...`.
# That is where the compiler actually lives — the lexer, parser, linker and
# every snapshot test of generated output — and it is self-contained.
#
# What is NOT here, and why: the full `make test` also runs js-api-tests,
# plugin-tests, end-to-end-tests, decorator-tests and register-test. Those build
# the binary, npm-install several trees and shell out to node per case; they are
# a release lane, not a merge gate. The Makefile itself splits `test` from
# `test-all` on the same reasoning, and the split is stated here rather than
# implied so nobody reads this gate as covering the JS API surface.
test:
- name: go
run: make test-go vet-go