build(release): reduce package size and report release sizes (#244)

This commit is contained in:
2026-09-11 01:15:36 -07:00
committed by GitHub
parent 8ae5bde6a4
commit 0c37c665a2
21 changed files with 1085 additions and 513 deletions
+14 -1
View File
@@ -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.