workflows
CI Mode
Fail builds when your composite score falls below an agreed threshold.
CI mode turns AnswerLint into a release gate. If the composite score drops below your threshold, the command exits with code 1 so your pipeline can fail fast.
Command
answerlint audit --url "$DEPLOY_URL" --ci --threshold 70 --output json --output-path ./answerlint-report.json| Exit code | Meaning |
|---|---|
| 0 | Success, or CI passed when score is at or above threshold |
| 1 | CI failed because composite score is below threshold |
| 2 | Crawl or network error |
| 3 | Invalid input or config error |
Team-friendly usage
Treat the threshold as a shared publishing standard. That keeps AEO and GEO quality from becoming a last-minute editorial debate.