Skip to content

chore: update

chore: update #2

name: Compressed Size
on: [pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18.x
- run: npm install
- uses: preactjs/compressed-size-action@v2
with:
# Any JS files anywhere within a dist directory:
pattern: '**/dist/**/*.js'
# Always ignore SourceMaps and node_modules:
exclude: '{**/*.map,**/node_modules/**}'