ant-design/.github/workflows/compressed-size.yml
xrkffgg 87c34c8e90
ci: optimize action name & trigger (#32244)
* Update compressed-size.yml

* Update issue-check-inactive.yml

* Update issue-close-require.yml

* Update issue-labeled.yml

* Update issue-open-check.yml

* Update issue-remove-inactive.yml

* Update pr-check-merge.yml

* Update preview-build.yml

* Update preview-start.yml

* Update rebase.yml

* Update ui.yml

* Update issue-labeled.yml
2021-09-22 11:52:14 +08:00

21 lines
454 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"