refactor(dev-infra): Add support for groups in the conditions evaluator (#38164)

Conditions can refer to the groups array that is a list of the preceding groups.
This commit adds support to the verification for those conditions.

This commit also adds some tests to the parsing and condition matching
to ensure everything works as expected.

PR Close #38164
This commit is contained in:
Andrew Scott
2020-07-20 11:53:26 -07:00
committed by Michael Prentice
parent 06356d806a
commit 1d46ef38d2
9 changed files with 280 additions and 70 deletions

View File

@ -16,6 +16,7 @@ ts_library(
"@npm//@types/node",
"@npm//@types/shelljs",
"@npm//chalk",
"@npm//inquirer",
"@npm//shelljs",
"@npm//tslib",
"@npm//typed-graphqlify",