1
0
mirror of https://gitee.com/vant-contrib/vant.git synced 2025-04-06 03:57:59 +08:00

build: add compressed-size github action ()

* build: add compressed-size github action

* fix: invalid with

* fix: add GITHUB_TOKEN
This commit is contained in:
neverland 2021-10-15 10:06:26 +08:00 committed by GitHub
parent 6799189f57
commit d4fe6cd44e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

14
.github/workflows/compressed-size.yml vendored Normal file

@ -0,0 +1,14 @@
name: Compressed Size
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: preactjs/compressed-size-action@v2
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
pattern: './packages/vant/lib/{vant.min.js,index.css}'