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