From 8574b941a76b2b88a23854ff6cd8ac577435ccc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AB=98=E8=89=B3=E5=85=B5?= <66234749+QDyanbing@users.noreply.github.com> Date: Tue, 20 Jan 2026 14:30:35 +0800 Subject: [PATCH] feat: add semantic ci (#56670) * feat: add semantic ci * fix: version * ci: move version step into test:semantic and run in test workflow --- .github/workflows/test.yml | 9 +++++++++ package.json | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f524d4685d..6d66de3553 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -52,6 +52,15 @@ jobs: - run: ut - run: ut test:node + test-semantic: + name: test-semantic + runs-on: blacksmith-4vcpu-ubuntu-2404 + steps: + - uses: actions/checkout@v6 + - uses: utooland/setup-utoo@v1 + - run: ut + - run: ut test:semantic + test-react-latest: name: test-react-latest strategy: diff --git a/package.json b/package.json index f1ebbddf70..256a735ebd 100644 --- a/package.json +++ b/package.json @@ -88,7 +88,7 @@ "test:dekko": "tsx ./tests/dekko/index.test.ts", "test:image": "cross-env MOCK_USE_ID=false jest --config .jest.image.js --no-cache -i -u --forceExit", "test:node": "npm run version && jest --config .jest.node.js --no-cache", - "test:semantic": "jest --config .jest.semantic.js --no-cache", + "test:semantic": "npm run version && jest --config .jest.semantic.js --no-cache", "test:package-diff": "antd-tools run package-diff", "test:site": "jest --config .jest.site.js --no-cache", "test:site-update": "npm run site && npm run test:site -- -u",