Skip to content

Commit 91ffcc2

Browse files
pauldambraclaude
andcommitted
ci: strip content hashes from filenames in bundle size check
Files like types-OLXvwyjP.js and base64-arraybuffer.es5-rOj8DRSP.js have content hashes that change between builds, making it impossible for compressed-size-action to match them across base and PR branches. This causes misleading "new file" / "removed file" reports. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 80095c6 commit 91ffcc2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/ci-cd.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ jobs:
5050
build-script: "build:all"
5151
compression: "none"
5252
pattern: "**/dist/*.{js,cjs,mjs,css}"
53+
strip-hash: "-[A-Za-z0-9_]{8}\\."
5354

5455
- name: Upload diff images to GitHub
5556
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)