mirror of
https://github.com/graycoreio/github-actions-magento2.git
synced 2026-06-19 06:41:20 +00:00
f7f0504691
* refactor: allow version matrixes by projects * feat: add initial version-matrix for mage-os * feat: add project as optional input to action * docs: document new input * refactor: tighten types a bit * chore: apply change requests from code review
10 lines
194 B
TypeScript
10 lines
194 B
TypeScript
/**
|
|
* Acceptable arguments for version `project`
|
|
*/
|
|
export const KNOWN_PROJECTS = {
|
|
"mage-os": true,
|
|
"magento-open-source": true,
|
|
}
|
|
|
|
export type Project = keyof typeof KNOWN_PROJECTS;
|