mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-09-19 05:16:27 -07:00
build(release): reduce package size and report release sizes (#244)
This commit is contained in:
@@ -4,10 +4,23 @@ export type WorkflowStep = {
|
||||
name?: string;
|
||||
run?: string;
|
||||
env?: Record<string, unknown>;
|
||||
uses?: string;
|
||||
with?: Record<string, unknown>;
|
||||
};
|
||||
|
||||
export type ParsedWorkflow = {
|
||||
jobs?: Record<string, { steps?: WorkflowStep[] } | undefined>;
|
||||
on?: { workflow_call?: { secrets?: Record<string, { required?: boolean }> } };
|
||||
jobs?: Record<
|
||||
string,
|
||||
| {
|
||||
steps?: WorkflowStep[];
|
||||
uses?: string;
|
||||
needs?: string | string[];
|
||||
permissions?: Record<string, string>;
|
||||
secrets?: string | Record<string, string>;
|
||||
}
|
||||
| undefined
|
||||
>;
|
||||
};
|
||||
|
||||
// Workflow tests only ever run under `bun test`, which parses YAML natively.
|
||||
|
||||
Reference in New Issue
Block a user