mirror of
https://github.com/hanzoai/chartjs-plugin-stacked100.git
synced 2026-10-30 18:45:49 +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]>
21 lines
857 B
YAML
21 lines
857 B
YAML
# Canonical CI/CD config for hanzoai/chartjs-plugin-stacked100 — the one file
|
|
# both the hanzoai/ci reusable (.hanzo/workflows/cicd.yml) and platform.hanzo.ai
|
|
# read. An npm package (a Chart.js plugin), published from a tag: no image, no
|
|
# deploy.
|
|
#
|
|
# Two halves, both real:
|
|
# * `yarn test` — the jest suite in src/test, which asserts the actual stacking
|
|
# arithmetic. This is a plugin whose entire job is turning values into
|
|
# percentages, so the numbers ARE the contract.
|
|
# * `yarn type` — emits the declaration files consumers typecheck against. It
|
|
# is a separate step from the bundle for a reason: vite/webpack strip types
|
|
# without checking them, so a broken .d.ts ships green otherwise.
|
|
test:
|
|
- name: build
|
|
run: |
|
|
set -e
|
|
corepack enable
|
|
yarn install --frozen-lockfile
|
|
yarn test
|
|
yarn type
|