mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-21 04:48:02 +08:00
863f61d908
Co-authored-by: afc163 <afc163@gmail.com>
31 lines
631 B
YAML
31 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@v4
|
|
- 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
|