Skip to content

Commit 5310ea9

Browse files
committed
ci: Revert removal of test reporter
1 parent 67b3a91 commit 5310ea9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/size.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,12 @@ jobs:
1616
pattern: 'dist/!(*.js.map)'
1717
build-script: build
1818
repo-token: '${{ secrets.GITHUB_TOKEN }}'
19+
20+
- name: compressed-size-action
21+
uses: preactjs/compressed-size-action@v2
22+
with:
23+
pattern: 'test/fixtures/**/dist/!(*.map)'
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'
27+
repo-token: '${{ secrets.GITHUB_TOKEN }}'

0 commit comments

Comments
 (0)