From d4fe6cd44eb06a2dad8110c6c64c9abf4787c1ef Mon Sep 17 00:00:00 2001 From: neverland Date: Fri, 15 Oct 2021 10:06:26 +0800 Subject: [PATCH] build: add compressed-size github action (#9677) * build: add compressed-size github action * fix: invalid with * fix: add GITHUB_TOKEN --- .github/workflows/compressed-size.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/compressed-size.yml diff --git a/.github/workflows/compressed-size.yml b/.github/workflows/compressed-size.yml new file mode 100644 index 000000000..a1d031db6 --- /dev/null +++ b/.github/workflows/compressed-size.yml @@ -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}'