ant-design/.github/workflows/size-limit.yml
dependabot[bot] c6b1ad0851
chore: bump actions/checkout from 4 to 5 (#54668)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-13 09:01:57 +08:00

30 lines
631 B
YAML

name: 📦 Size Limit
on:
pull_request:
types: [opened, synchronize]
permissions:
issues: write
contents: read
jobs:
size:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: oven-sh/setup-bun@v2
- name: size-limit
uses: ant-design/size-limit-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
package_manager: bun
build_script: dist
env:
NODE_OPTIONS: --max_old_space_size=4096
PRODUCTION_ONLY: 1
CI_JOB_NUMBER: 1