chore: remove broken check-commit script (#56216)

This commit is contained in:
Lemonadeccc
2025-12-15 11:12:26 +08:00
committed by GitHub
parent e461682e58
commit cf3d732f5b
2 changed files with 1 additions and 10 deletions

View File

@@ -45,7 +45,6 @@
"authors": "tsx scripts/generate-authors.ts",
"build": "npm run compile && cross-env NODE_OPTIONS='--max-old-space-size=4096' npm run dist",
"changelog": "npm run lint:changelog && tsx scripts/print-changelog.ts",
"check-commit": "tsx scripts/check-commit.ts",
"clean": "antd-tools run clean && rimraf es lib coverage locale dist report.html artifacts.zip oss-artifacts.zip",
"clean:lockfiles": "rimraf package-lock.json yarn.lock",
"precompile": "npm run prestart",

View File

@@ -1,7 +1,7 @@
#!/bin/bash
# Full skip argms
# npm run test-all -- --skip-changelog --skip-commit --skip-lint --skip-build --skip-dekko --skip-dist --skip-es --skip-lib --skip-test --skip-node
# npm run test-all -- --skip-changelog --skip-lint --skip-build --skip-dekko --skip-dist --skip-es --skip-lib --skip-test --skip-node
# Check exist argument
has_arg() {
@@ -27,14 +27,6 @@ else
echo "[TEST ALL] test changelog...skip"
fi
if ! has_arg '--skip-commit' "$@"; then
echo "[TEST ALL] check-commit"
echo "[TEST ALL] check-commit" > ~test-all.txt
npm run check-commit
else
echo "[TEST ALL] check-commit...skip"
fi
if ! has_arg '--skip-lint' "$@"; then
echo "[TEST ALL] lint"
echo "[TEST ALL] lint" > ~test-all.txt