mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-18 19:39:51 +08:00
3278ce7d3a
Signed-off-by: afc163 <afc163@gmail.com>
29 lines
582 B
YAML
29 lines
582 B
YAML
name: 📦 Size Limit
|
|
|
|
on:
|
|
pull_request:
|
|
types: [opened, synchronize]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
size:
|
|
permissions:
|
|
contents: read
|
|
pull-requests: write
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: size-limit
|
|
uses: ant-design/size-limit-action@master
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
package_manager: yarn
|
|
build_script: dist
|
|
env:
|
|
NODE_OPTIONS: "--max_old_space_size=4096"
|
|
PRODUCTION_ONLY: 1
|
|
NO_DUP_CHECK: 1
|