You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-68Lines changed: 8 additions & 68 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,6 +58,13 @@ jobs:
58
58
size-threshold: '50000'
59
59
```
60
60
61
+
## Example Workflows
62
+
63
+
See the [`recipes/`](./recipes/) directory for complete workflow examples:
64
+
65
+
- [`basic.yml`](./recipes/basic.yml) - Basic dependency diff on pull requests
66
+
- [`bundle-diff.yml`](./recipes/bundle-diff.yml) - Advanced workflow with package bundle size analysis
67
+
61
68
## Package Bundle Analysis
62
69
63
70
In addition to analyzing dependency changes, this action can optionally compare the actual bundle sizes of your packages by examining `npm pack` outputs. This provides insights into the **bundle size** (what gets published) rather than just the **install size** (what gets installed with dependencies).
@@ -73,74 +80,7 @@ The action accepts glob patterns to locate package tarballs for comparison:
73
80
> [!NOTE]
74
81
> Package bundle analysis only runs when both `base-packages` and `source-packages` are provided. If these inputs are not set, this feature is skipped entirely.
0 commit comments