woocommerce/plugins/woocommerce-blocks/.github/workflows/bundle-size.yml

17 lines
405 B
YAML

name: Bundle Size
on: [pull_request]
jobs:
build-and-size:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2-beta
with:
fetch-depth: 1
- uses: preactjs/compressed-size-action@v1
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'
pattern: '{build/**/*.js,build/**/*.css}'