Skip to content

[AC-2941] ci: add pr-size-diff workflow #2

[AC-2941] ci: add pr-size-diff workflow

[AC-2941] ci: add pr-size-diff workflow #2

Workflow file for this run

name: PR size diff
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: preactjs/compressed-size-action@v2
with:
pattern: "./dist/**/*.{js,css}"
exclude: "{**/*.d.ts,**/node_modules/**}"
strip-hash: "__bundle-\\d+-([a-zA-Z0-9_-]{8})\\.js$"