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