Skip to content

Allow exit 0 on errors reported by schema check #1852

@pcarrier

Description

@pcarrier

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.).

Metadata

Metadata

Assignees

No one assigned

    Labels

    🔨 clirelated to the CLI itself

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions