Skip to content

Commit

Permalink
fix: set size-limit to 1kb; (#1484)
Browse files Browse the repository at this point in the history
  • Loading branch information
denisx authored Dec 19, 2024
1 parent 5b05791 commit 355c914
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/package-size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ jobs:
const now = currentFile[packageName]?.[entryPoint] || 0;
const before = masterFile[packageName]?.[entryPoint] || 0;
if (Math.abs(now - before) > 2) {
if (Math.abs(now - before) >= 1) {
shouldComment = true;
acc += `| ${packageName}/${entryPoint} | ${now} ${
now - before > 0 ? `(+${(now - before).toFixed(2)} KB🔺)` : `(-${(before - now).toFixed(2)} KB)`
now - before > 0 ? `(+${(now - before).toFixed(2)} KB🔺)` : `(-${(before - now).toFixed(2)} KB💚)`
} |\n`;
}
});
Expand Down

0 comments on commit 355c914

Please sign in to comment.