mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
build: add compressed-size github action (#9677)
* build: add compressed-size github action * fix: invalid with * fix: add GITHUB_TOKEN
This commit is contained in:
parent
6799189f57
commit
d4fe6cd44e
14
.github/workflows/compressed-size.yml
vendored
Normal file
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}'
|
Loading…
x
Reference in New Issue
Block a user