Back to Moon

ci

website/docs/commands/ci.mdx

2.2.41.1 KB
Original Source

import VersionLabel from '@site/src/components/Docs/VersionLabel';

The moon ci command is a special command that should be ran in a continuous integration (CI) environment, as it does all the heavy lifting necessary for effectively running tasks.

By default this will run all tasks that are affected by changed files and have the runInCI task option enabled.

shell
$ moon ci

However, you can also provide a list of targets to explicitly run, which will still be filtered down by runInCI.

shell
$ moon ci :build :lint

:::info

View the official continuous integration guide for a more in-depth example of how to utilize this command.

:::

Arguments

Options

Inherits most options from moon exec and pre-fills with: --affected, --ci, --on-failure=continue, --summary=detailed, --upstream=deep, --downstream=direct.

Configuration