| monorepo | For repos containing multiple projects. Options are:
- `false`: single project mode (default)
- `true`: turns on monorepo mode (autodetects tool unless `projects` is specified)
- `nx`: Nx workspace
- `turbo`: Turborepo
- `npm`: NPM workspaces
- `yarn`: Yarn workspaces
- `pnpm`: PNPM workspaces
| yes | false |
| parallel | Configures parallel execution in monorepo mode. Possibly values are:
- `false`: sequential (default)
- `true`: parallel with default number of jobs (depends on monorepo tool)
- integer which sets the number of concurrent jobs
| yes | false |
| projects | Project folders for custom monorepo setup.
Only used when `monorepo: true` is set and no known monorepo tool is detected.
Should be a comma-separated list of project folders (supports globs).
| no | — |
| task | Name of task for running Code PushUp CLI in monorepo mode. Defaults to `code-pushup`.
Depending on what monorepo tool is being used, this task may represent a `package.json` script, binary executable, Nx target or Turbo task.
| yes | code-pushup |
| nxProjectsFilter | CLI arguments for `nx show projects` used to list Nx projects in monorepo mode. Replaces `{task}` with `task` input.
| yes | --with-target={task} |
| bin | Custom code-pushup executable | yes | npx --no-install code-pushup |
| config | Custom code-pushup.config path | no | — |
| directory | Custom working directory | no | — |
| silent | Silence logs from Code Pushup CLI | yes | false |
| token | GITHUB_TOKEN or a repo scoped PAT | yes | ${{ github.token }} |
| artifacts | Upload/download artifacts for caching code-pushup reports | yes | true |
| retention | Artifact retention period in days | no | — |
| annotations | Create file annotations in GitHub | yes | true |
| skipComment | Skip PR comment | yes | false |
| configPatterns | Performance optimization for large monorepos - `persist` and `upload` configs provided upfront to skip parsing.
Replaces `{projectName}` in configured values with name of each project. | no | — |
| searchCommits | If enabled and portal cache is used, looks for previous report in target branch's 10
most recent commits (not only latest).
Supports boolean or an integer (1-100), the latter overrides the default number of commits (10).
| yes | false |
| jobId | Differentiate PR comments (useful if multiple jobs run Code PushUp) | no | — |