ci: update size check script

This commit is contained in:
Evan You 2021-09-20 12:40:05 -04:00
parent b39dc52fc8
commit 6e7e57fa9b

View File

@ -38,7 +38,7 @@ jobs:
env: env:
CI_JOB_NUMBER: 1 CI_JOB_NUMBER: 1
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v1
- name: Set node version to 16 - name: Set node version to 16
uses: actions/setup-node@v2 uses: actions/setup-node@v2
with: with:
@ -46,7 +46,7 @@ jobs:
cache: 'yarn' cache: 'yarn'
- run: yarn install - run: yarn install
- name: Check build size - name: Check build size
uses: posva/size-check-action@v2.1.2 uses: posva/size-check-action@v1.1.2
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
build_script: size build_script: size