CLI command · Drift and CI
wl ci setup
Generate GitHub Actions workflow files for Workloom CI.
Writes workflows into .github/workflows: one that validates manifests on push and one that checks drift on pull requests. Either can be switched off.
Usage
wl ci setup [options]Arguments and options
- -d, --dir <path>
- Output directory. Default: the current one.
- --validate-on-push
- Generate the validate-on-push workflow (default).
- --no-validate-on-push
- Skip the validate-on-push workflow.
- --drift-check-on-pr
- Generate the drift-check-on-pr workflow (default).
- --no-drift-check-on-pr
- Skip the drift-check-on-pr workflow.
- --node-version <version>
- Node.js version for the workflows. Default: 22.
- --package-manager <pm>
- pnpm (default), npm or yarn.
- --branch <name>
- Branch for the validate workflow. Default: main.