Skip to content

Commit

Permalink
ci: Skip snapshot failures for Compressed Size action
Browse files Browse the repository at this point in the history
  • Loading branch information
rschristian authored Jan 31, 2025
1 parent 095eb4f commit 5db5c56
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,7 @@ jobs:
uses: preactjs/compressed-size-action@v2
with:
pattern: 'test/fixtures/**/dist/!(*.map)'
build-script: 'test'
# We're using this to report size differences, not test, so update snapshots if they fail.
# The CI can catch the test failures instead.
build-script: 'test -- -u'
repo-token: '${{ secrets.GITHUB_TOKEN }}'

0 comments on commit 5db5c56

Please sign in to comment.