website/docs/commands/ci.mdx
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.
$ moon ci
However, you can also provide a list of targets to explicitly run, which will still be filtered down
by runInCI.
$ moon ci :build :lint
:::info
View the official continuous integration guide for a more in-depth example of how to utilize this command.
:::
...[target] - Task targets to run.Inherits most options from moon exec and pre-fills with: --affected, --ci,
--on-failure=continue, --summary=detailed, --upstream=deep, --downstream=direct.
tasks in .moon/tasks/*tasks in moon.*tasks.*.options.runInCI in moon.*