Buildkite plugin that will check apollo schemas. The current implementation only runs the rover subgraph check
command. Future releases will add the ability to run the graph
and supergraph
commands
Add the following to your pipeline.yml
:
steps:
- plugins:
- datumforge/apollo#v0.0.1:
graph-ref: datum@current
subgraph: datum
schema: schema.graphql
To ignore existing lint violations set ignore-existing: true
in the plugin definition
APOLLO_KEY
is required to be set in the environment before the plugin can run
To run the linter:
task lint
To run the tests:
task test
- Fork the repo
- Make the changes
- Run the tests
- Commit and push your changes
- Send a pull request