20 lines
502 B
YAML
20 lines
502 B
YAML
name: Bundle Size
|
|
|
|
on: [pull_request]
|
|
|
|
jobs:
|
|
build-and-size:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/setup-node@v2-beta
|
|
with:
|
|
node-version: '12'
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 1
|
|
- uses: preactjs/compressed-size-action@v2
|
|
with:
|
|
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
|
pattern: "{build/**/*.js,build/**/*.css}"
|