mirror of
https://github.com/hanzoai/tailwindcss-typography.git
synced 2026-09-24 17:03:19 +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
923 B
YAML
21 lines
923 B
YAML
# Canonical CI/CD config for hanzoai/tailwindcss-typography — read by the
|
|
# hanzoai/ci reusable workflow (.hanzo/workflows/cicd.yml) and by
|
|
# platform.hanzo.ai.
|
|
#
|
|
# LIBRARY: the `prose` plugin for Tailwind. No image, no deploy — it ships from
|
|
# a tag.
|
|
#
|
|
# The gate is the jest suite. A Tailwind plugin has no types to check and
|
|
# nothing to compile — it is a function that returns a CSS object — so the only
|
|
# way to know it still works is to run Tailwind over a fixture and diff the
|
|
# emitted CSS, which is exactly what test/ does (jest/customMatchers.js exists
|
|
# for that comparison). It goes red on a changed selector or a dropped
|
|
# modifier, which is the entire failure surface.
|
|
#
|
|
# The demo/ Next site (`npm run build`) is deliberately not in the gate: it is
|
|
# documentation, it pulls a whole React toolchain, and it can break without the
|
|
# plugin being wrong.
|
|
test:
|
|
- name: test
|
|
run: npm ci && npm test
|