feat: don't report on file size of files we can infer from the main files #645
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Bundled Size | |
on: [pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: preactjs/compressed-size-action@v2 | |
with: | |
build-script: "build-rollup" | |
compression: "none" | |
# no need to report on files that aren't the interesting ones | |
exclude: "{dist/es.js,dist/module.js,**/*.map,**/node_modules/**}" | |
# no need to report on very small byte changes which show as 0% change | |
minimum-change-threshold: 300 |