preset ci
Generate GitHub Actions workflow for design system enforcement
Reference
Usage
preset ci [options]
Options
- Name
--design-system-id \<id>- Type
- value required
- Description
Check against this design system's own rules (needs a PRESET_API_KEY secret)
- Name
--sarif- Type
- flag
- Description
Enable SARIF upload for GitHub Code Scanning
- Name
--score-threshold \<n>- Type
- value required
- Description
Not supported: health scoring needs the deprecated Supabase inputs
- Name
--fail-on-warnings- Type
- flag
- Description
Fail on warnings, not just errors
- Name
--dry-run- Type
- flag
- Description
Preview workflow without writing
- Name
-y, --yes- Type
- flag
- Description
Skip prompts, use auto-detected defaults
Source
Defined in packages/cli/src/commands/ci.ts.
Last reviewed by @jschuyler