| 52 | * Context used for the verify conditions step. |
| 53 | */ |
| 54 | export interface VerifyConditionsContext extends BaseContext { |
| 55 | /** |
| 56 | * The current working directory to use. It should be configured to |
| 57 | * the root of the Git repository to release from. |
| 58 | * |
| 59 | * It allows to run semantic-release from a specific path without |
| 60 | * having to change the local process cwd with process.chdir(). |
| 61 | * |
| 62 | * @default process.cwd |
| 63 | */ |
| 64 | cwd?: string | undefined; |
| 65 | |
| 66 | /** |
| 67 | * The environment variables to use. |
| 68 | * |
| 69 | * It allows to run semantic-release with specific environment |
| 70 | * variables without having to modify the local process.env. |
| 71 | * |
| 72 | * @default process.env |
| 73 | */ |
| 74 | env: Record<string, string>; |
| 75 | |
| 76 | /** |
| 77 | * Information about the CI environment. |
| 78 | */ |
| 79 | envCi: EnvCi; |
| 80 | |
| 81 | /** |
| 82 | * Information of the current branch |
| 83 | */ |
| 84 | branch: BranchObject; |
| 85 | |
| 86 | /** |
| 87 | * Information on branches |
| 88 | */ |
| 89 | branches: ReadonlyArray<BranchObject>; |
| 90 | } |
| 91 | |
| 92 | /** |
| 93 | * Context used for the analyze commits step. |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…