Skip to content

Commit

Permalink
chore: 移除 bundlesize
Browse files Browse the repository at this point in the history
  • Loading branch information
lijinke666 committed Nov 24, 2023
1 parent 3f26ae2 commit 51c0706
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 284 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/size-limit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,16 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: 'yarn'

# - name: Install dependencies
# run: yarn
- name: Install dependencies
run: yarn

- uses: andresz1/[email protected]
# https://github.com/ant-design/ant-design/blob/master/.github/workflows/size-limit.yml
- name: size-limit
uses: ant-design/size-limit-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
build_script: build:umd
script: yarn build:size-limit-json
# skip_step: install
skip_step: install
env:
NODE_OPTIONS: "--max_old_space_size=4096"
PRODUCTION_ONLY: 1
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@
"@vue/vue3-jest": "^27.0.0-alpha.4",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^26.6.3",
"bundlesize": "^0.18.1",
"case-police": "^0.5.3",
"concurrently": "^7.1.0",
"conventional-changelog-cli": "^2.2.2",
Expand Down
Loading

0 comments on commit 51c0706

Please sign in to comment.