From c60740d4b4251e6ddb972793e1248715026f135f Mon Sep 17 00:00:00 2001 From: afc163 Date: Fri, 2 Jul 2021 21:58:10 +0800 Subject: [PATCH] test: fix compressed-size error again (#31251) --- .github/workflows/compressed-size.yml | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/compressed-size.yml b/.github/workflows/compressed-size.yml index 331b5a425c..25e4e34f48 100644 --- a/.github/workflows/compressed-size.yml +++ b/.github/workflows/compressed-size.yml @@ -14,6 +14,6 @@ jobs: - uses: preactjs/compressed-size-action@v2 with: repo-token: "${{ secrets.GITHUB_TOKEN }}" - clean-script: "clean-lockfiles" pattern: "./dist/**/*.min.{js,css}" - build-script: "dist:esbuild" \ No newline at end of file + build-script: "dist:esbuild" + clean-script: "clean-lockfiles" \ No newline at end of file diff --git a/package.json b/package.json index f7be49f315..9285d5c28b 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "check-commit": "node ./scripts/check-commit", "check-ts-demo": "node ./scripts/check-ts-demo", "clean": "antd-tools run clean && rm -rf es lib coverage dist report.html", - "clean-lock": "rm package-lock.json yarn.lock", + "clean-lockfiles": "rm -rf package-lock.json yarn.lock", "prestart": "npm run version", "precompile": "npm run version", "pretest": "npm run version",