ci: add size check on push (#2392)
This commit is contained in:
parent
052a621762
commit
8e5cdc0d0e
5
.github/workflows/size-check.yml
vendored
5
.github/workflows/size-check.yml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user