ci: add size check on push (#2392)

This commit is contained in:
Eduardo San Martin Morote 2020-10-19 23:19:49 +02:00 committed by GitHub
parent 052a621762
commit 8e5cdc0d0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,8 @@
name: 'size'
on:
push:
branches:
- master
pull_request:
branches:
- master
@ -12,7 +15,7 @@ jobs:
- uses: actions/checkout@v1
- uses: bahmutov/npm-install@v1
- uses: posva/size-check-action@v1.0.2
- uses: posva/size-check-action@v1.1.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
build_script: size