Skip to content

feat(gitlab-types): generate from editor json schema

  1. Generator script using json-schema-to-typescript to generate GitLab-CI.yml types from GitLab's JSON-schema
  2. replace types in gitlab-types.ts as far as possible with the generated types.

What is the improvement?

The types in the schema are not only more complete than self authored ones, they will most likely also be more accurate than types we write manually for Catladder.

Additionally, they're easier to update to changes GitLab makes to their .gitlab-ci.yml schema, and they include the documentation GitLab wrote in their schema.

Edited by Kaspar Vollenweider

Merge request reports