It'd be great to have a apollo schema:check option to exit 0 if the check finished, even if it returned errors, so we can fail in CI when the checks are broken, but not when they report errors. The build should be green in GitHub, the Apollo checks are where the red goes.
OTOH, ignoring the command exit code means we don't catch checks being broken in other ways (invalid command, bad API key, service is down, etc.).
It'd be great to have a
apollo schema:checkoption to exit 0 if the check finished, even if it returned errors, so we can fail in CI when the checks are broken, but not when they report errors. The build should be green in GitHub, the Apollo checks are where the red goes.OTOH, ignoring the command exit code means we don't catch checks being broken in other ways (invalid command, bad API key, service is down, etc.).