test: fix compressed-size error again (#31251)

This commit is contained in:
afc163 2021-07-02 21:58:10 +08:00 committed by GitHub
parent 17efd566dc
commit c60740d4b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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"
build-script: "dist:esbuild"
clean-script: "clean-lockfiles"

View File

@ -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",