coverage-badges-cli
Version:
Create coverage badges from coverage reports. Using GitHub Actions and GitHub Workflow CPU time (no 3rd parties servers).
17 lines (16 loc) • 431 B
TypeScript
export type StyleOption = 'flat' | 'classic';
export interface BadgenOptions {
status: string;
subject?: string;
color?: string;
label?: string;
style?: StyleOption;
jsonPath?: string;
labelColor?: string;
icon?: string;
iconWidth?: number;
scale?: number;
}
export interface BadgeOption extends BadgenOptions {
}
export declare function badge(option: BadgeOption, summary: object): string;