@nx/workspace:ci-workflow

Generate a CI workflow.

Usage

1nx generate ci-workflow ... 2

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

You can specify the collection explicitly as follows:

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

Show what will be generated without writing to disk:

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

Options

ci

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

CI provider.

name

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

Workflow name.