Ryan Christian 00016d892b
ci: Bump CI actions (#1082)
* ci: Bump CI versions

* ci: Limit compressed-size to microbundle itself

* ci: Limit push CI to master

* test: Drop output messages from tests, not reliable enough nor completely necessary

* ci: Revert removal of test reporter

* ci: Downgrade Node versions

* revert: Try reverting this whilst we're at it

* ci: Bump release workflow
2025-10-23 20:01:00 -05:00

28 lines
779 B
YAML

name: compressed-size
on:
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: compressed-size-action
uses: preactjs/compressed-size-action@v2
with:
pattern: 'dist/!(*.js.map)'
build-script: build
repo-token: '${{ secrets.GITHUB_TOKEN }}'
- name: compressed-size-action
uses: preactjs/compressed-size-action@v2
with:
pattern: 'test/fixtures/**/dist/!(*.map)'
# 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 }}'