diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fa3e2df4e1..78d828022c 100644 --- a/.github/workflows/test.yml +++ b/.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' }} diff --git a/package.json b/package.json index e3359d0c62..e2121ed3cd 100644 --- a/package.json +++ b/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" },