0.5.0 • Published 3 years ago
gitlab-ci-validate v0.5.0
gitlab-ci-validate
Checks if your .gitlab-ci.yml file is valid.
Thanks to @FGRibreau for the post about validating .gitlab-ci.yml files!
Install:
yarn global add gitlab-ci-validate
npm i -g gitlab-ci-validate
Usage:
# It will try to find if .gitlab-ci.yml is present on the current folder if no file path is provided
$ gitlab-ci-validate <file-path>
# You can specify your own gitlab host if you need
$ gitlab-ci-validate <file-path> --host https://my-gitlab-url
# You can provide a private token if you need
$ gitlab-ci-validate <file-path> --private-token <my-gitlab-token>
License
MIT © Léo Pradel