mirror of
https://github.com/hanzoai/insights-icons.git
synced 2026-10-30 14:54:11 +00:00
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]>
20 lines
824 B
YAML
20 lines
824 B
YAML
# Canonical CI/CD config for hanzoai/insights-icons — the one file both the
|
|
# hanzoai/ci reusable (.hanzo/workflows/cicd.yml) and platform.hanzo.ai read.
|
|
#
|
|
# An npm package (@hanzo/insights-icons): a Vite library build of the icon set.
|
|
# Published from a tag, no image, no deploy.
|
|
#
|
|
# The gate is the build that produces what is published — `vite build` runs the
|
|
# TypeScript through rollup, so a missing export, a bad import path or an icon
|
|
# that no longer parses fails here rather than in the first app that imports it.
|
|
# `tsc --noEmit` runs first because vite's transform strips types without
|
|
# checking them, so the build alone would pass a type error straight through.
|
|
test:
|
|
- name: build
|
|
run: |
|
|
set -e
|
|
corepack enable
|
|
pnpm install --frozen-lockfile
|
|
npx tsc --noEmit
|
|
pnpm build
|