UNPKG

@relative-ci/agent

Version:

Send bundle stats and CI build information to RelativeCI

12 lines (11 loc) 1.81 kB
export declare const VALIDATE_ERROR = "Invalid stats structure."; export declare const GENERIC_ERROR = "Something went wrong"; export declare const INGEST_ERROR = "Error ingesting data!"; export declare const INGEST_INVALID_DATA = "Ingest API responded with invalid data"; export declare const CLI_MISSING_CONFIGURATION_ERROR = "relativeci.config.js file is missing! Read more about RelativeCI agent setup at https://relative-ci.com/documentation/setup."; export declare const CLI_INVALID_CONFIGURATION_ERROR = "The path to your webpack stats file is missing! Read more about RelativeCI agent setup at https://relative-ci.com/documentation/setup."; export declare const CLI_MISSING_STATS_FILE_ERROR = "The webpack stats file does not exists! Read more about RelativeCI agent setup at https://relative-ci.com/documentation/setup."; export declare const AGENT_MISSING_KEY_ERROR = "\"key\" parameter is missing, make sure to set RELATIVE_CI_KEY environment variable! Read more about RelativeCI agent setup at https://relative-ci.com/documentation/setup."; export declare const AGENT_MISSING_SLUG_ERROR = "\"slug\" parameter is missing, make sure to set RELATIVE_CI_SLUG environment variable (RELATIVE_CI_SLUG=organization-a/project-a) if you are not using a supported CI service! Read more about RelativeCI agent setup at https://relative-ci.com/documentation/setup."; export declare const AGENT_MISSING_COMMIT_ERROR = "\"commit\" environment variable is missing, make sure the agent is setup correctly! Read more about RelativeCI agent setup at https://relative-ci.com/documentation/setup."; export declare const AGENT_MISSING_BRANCH_ERROR = "\"branch\" environment variable is missing, make sure the agent is setup correctly! Read more about RelativeCI agent setup at https://relative-ci.com/documentation/setup.";