vant/.github/workflows/compressed-size.yml
neverland d4fe6cd44e
build: add compressed-size github action (#9677)
* build: add compressed-size github action

* fix: invalid with

* fix: add GITHUB_TOKEN
2021-10-15 10:06:26 +08:00

15 lines
311 B
YAML

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}'