Skip to content

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 codeMeaning
0Success, or CI passed when score is at or above threshold
1CI failed because composite score is below threshold
2Crawl or network error
3Invalid 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.

CI Mode · AnswerLint Docs