mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-12 15:19:58 +08:00
ceba0d5c23
* chore: comiple use matrix * chore: 16 deps * chore: not install 16 * chore: update * chore: to 16 * chore: install 16 * chore: install 16 * chore: install 16 * chore: install 16 * chore: concurrent * chore: back all * chore: fix lines * chore: cancel if new comes * chore: single dist speed up * chore: fix * chore: fix * chore: update * fix: deps
26 lines
616 B
YAML
26 lines
616 B
YAML
name: 📦 Compressed Size
|
|
|
|
on:
|
|
pull_request:
|
|
types: [opened, synchronize]
|
|
|
|
# Cancel prev CI if new commit come
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
compressed-size:
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
CI_JOB_NUMBER: 1
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- 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"
|