mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-03 16:39:41 +08:00
21 lines
453 B
YAML
21 lines
453 B
YAML
name: 📦 Compressed Size
|
|
|
|
on:
|
|
pull_request:
|
|
types: [opened, synchronize]
|
|
|
|
jobs:
|
|
compressed-size:
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
CI_JOB_NUMBER: 1
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: preactjs/compressed-size-action@v2
|
|
with:
|
|
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
|
pattern: "./dist/**/*.min.{js,css}"
|
|
build-script: "dist:esbuild-no-dup-check"
|
|
clean-script: "clean-lockfiles"
|