mirror of
https://github.com/graycoreio/github-actions-magento2.git
synced 2026-06-13 13:14:53 +00:00
feat(supported-version): validate custom_versions
Previously, @danslo reported that he tried to use `custom_versions` without setting the kind. This isn't the correct behavior. I've added a validator to alert him of this.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
/**
|
||||
* Acceptable arguments for version `kind`
|
||||
*/
|
||||
export const KNOWN_KINDS = {
|
||||
'currently-supported': true,
|
||||
'latest': true,
|
||||
'custom': true,
|
||||
'nightly': true,
|
||||
'all': true,
|
||||
}
|
||||
|
||||
export type Kind = keyof typeof KNOWN_KINDS;
|
||||
Reference in New Issue
Block a user