UNPKG

@nrwl/workspace

Version:

Smart, Fast and Extensible Build System.

37 lines (36 loc) 949 B
{ "$schema": "http://json-schema.org/schema", "$id": "NxWorkspaceCIWorkflow", "title": "Generate a CI workflow.", "description": "Generate a CI workflow.", "cli": "nx", "type": "object", "properties": { "ci": { "type": "string", "description": "CI provider.", "enum": ["github", "circleci", "azure"], "x-prompt": { "message": "What is your target CI provider?", "type": "list", "items": [ { "value": "github", "label": "Github Actions" }, { "value": "circleci", "label": "Circle CI" }, { "value": "azure", "label": "Azure DevOps" } ] } }, "name": { "type": "string", "description": "Workflow name.", "$default": { "$source": "argv", "index": 0 }, "default": "CI", "x-prompt": "How should we name your workflow?", "pattern": "^[a-zA-Z].*$" } }, "required": ["ci"] }