ci: add bundle size report for PRs (#616)
This commit is contained in:
parent
20240fc442
commit
02ec026ed7
12
.github/workflows/build_size_report.yml
vendored
Normal file
12
.github/workflows/build_size_report.yml
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
name: Build Size Report
|
||||
on: [ pull_request ]
|
||||
jobs:
|
||||
check:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 30
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: preactjs/compressed-size-action@v2
|
||||
with:
|
||||
pattern: "./dist/**/*.{js,css,html,json}"
|
||||
exclude: "{./dist/manifest.json,./dist/build.zip,**/*.map,**/node_modules/**}"
|
Loading…
x
Reference in New Issue
Block a user