feat(dev-infra): add a command to verify NgBot YAML config syntax (#39071)
This commit adds a new command to the `ng-dev` suite, which verifies that the NgBot YAML config is
correct. It also adds this command to the `lint` CircleCI job so that we execute this check while
running CI.
This should help prevent syntax errors similar to the one introduced in:
393ce5574b
PR Close #39071
This commit is contained in:

committed by
Joey Perrott

parent
6205ed0fcc
commit
4bce21358d
@ -15,6 +15,7 @@ import {buildReleaseParser} from './release/cli';
|
||||
import {buildPrParser} from './pr/cli';
|
||||
import {captureLogOutputForCommand} from './utils/console';
|
||||
import {buildCaretakerParser} from './caretaker/cli';
|
||||
import {buildNgbotParser} from './ngbot/cli';
|
||||
|
||||
yargs.scriptName('ng-dev')
|
||||
.middleware(captureLogOutputForCommand)
|
||||
@ -27,6 +28,7 @@ yargs.scriptName('ng-dev')
|
||||
.command('release <command>', '', buildReleaseParser)
|
||||
.command('ts-circular-deps <command>', '', tsCircularDependenciesBuilder)
|
||||
.command('caretaker <command>', '', buildCaretakerParser)
|
||||
.command('ngbot <command>', false, buildNgbotParser)
|
||||
.wrap(120)
|
||||
.strict()
|
||||
.parse();
|
||||
|
Reference in New Issue
Block a user