vue3-yuanma/.github/workflows/size-check.yml

23 lines
554 B
YAML
Raw Normal View History

2020-10-15 15:37:00 +00:00
name: 'size'
on:
2020-10-19 21:19:49 +00:00
push:
branches:
- master
2020-10-15 15:37:00 +00:00
pull_request:
branches:
- master
jobs:
size:
runs-on: ubuntu-latest
env:
CI_JOB_NUMBER: 1
steps:
- uses: actions/checkout@v1
- uses: bahmutov/npm-install@v1
2020-10-19 21:19:49 +00:00
- uses: posva/size-check-action@v1.1.0
2020-10-15 15:37:00 +00:00
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
build_script: size
files: packages/vue/dist/vue.global.prod.js packages/runtime-dom/dist/runtime-dom.global.prod.js packages/size-check/dist/size-check.global.prod.js