Add code size tracking (#1036)

This commit is contained in:
Jordan Eldredge 2020-12-03 23:19:59 -08:00 committed by GitHub
parent 5ddb7833ec
commit c4dd7c929d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

16
.github/workflows/code-size.yml vendored Normal file
View file

@ -0,0 +1,16 @@
name: Compressed Size
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: preactjs/compressed-size-action@v2
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
build-script: "deploy"
pattern: "./packages/webamp/built/*bundle.js"