Browse Source

chore: rm bundlesize check (#40220)

pull/40219/head
二货爱吃白萝卜 2 years ago
committed by GitHub
parent
commit
df3c33c378
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      .github/workflows/test.yml
  2. 8
      package.json

7
.github/workflows/test.yml

@ -171,13 +171,6 @@ jobs:
if: ${{ matrix.module == 'dist' }}
run: node ./tests/dekko/dist.test.js
- name: bundlesize
if: ${{ matrix.module == 'dist' && matrix.react == '18' }}
run: npm run bundlesize
env:
BUNDLESIZE_GITHUB_TOKEN: ${{ secrets.BUNDLESIZE_GITHUB_TOKEN }}
INTERNAL_SKIP_CACHE: true
# dom test
- name: dom test
if: ${{ matrix.module == 'dom' }}

8
package.json

@ -48,7 +48,6 @@
"api-collection": "antd-tools run api-collection",
"authors": "node ./scripts/generate-authors",
"build": "npm run compile && NODE_OPTIONS='--max-old-space-size=4096' npm run dist",
"bundlesize": "bundlesize --enable-github-checks",
"size-limit": "size-limit",
"check-commit": "node ./scripts/check-commit",
"check-ts-demo": "node ./scripts/check-ts-demo",
@ -194,7 +193,6 @@
"antd-img-crop": "^4.2.8",
"antd-token-previewer": "^1.1.0-21",
"array-move": "^4.0.0",
"bundlesize2": "^0.0.31",
"chalk": "^4.0.0",
"cheerio": "1.0.0-rc.12",
"cross-env": "^7.0.0",
@ -306,12 +304,6 @@
"limit": "500 KiB"
}
],
"bundlesize": [
{
"path": "./dist/antd.min.js",
"maxSize": "385 kB"
}
],
"tnpm": {
"mode": "npm"
},

Loading…
Cancel
Save