Skip to content

Commit 5db5c56

Browse files
authored
ci: Skip snapshot failures for Compressed Size action
1 parent 095eb4f commit 5db5c56

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/size.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,7 @@ jobs:
2121
uses: preactjs/compressed-size-action@v2
2222
with:
2323
pattern: 'test/fixtures/**/dist/!(*.map)'
24-
build-script: 'test'
24+
# We're using this to report size differences, not test, so update snapshots if they fail.
25+
# The CI can catch the test failures instead.
26+
build-script: 'test -- -u'
2527
repo-token: '${{ secrets.GITHUB_TOKEN }}'

0 commit comments

Comments
 (0)