@nx/workspace:ci-workflow

Generate a CI workflow.

Usage

nx generate ci-workflow ...

By default, Nx will search for ci-workflow in the default collection provisioned in workspace.json.

You can specify the collection explicitly as follows:

nx g @nx/workspace:ci-workflow ...
Nx 15 and lower use @nrwl/ instead of @nx/

Show what will be generated without writing to disk:

nx g ci-workflow ... --dry-run

Options

ci

Required
string
Accepted values: github, circleci, azure, bitbucket-pipelines, gitlab

CI provider.

name

string
Default: CIPattern: ^[a-zA-Z].*$

Workflow name.