feat(M08-D): 补多小程序与租户配置
This commit is contained in:
@@ -20,8 +20,10 @@ $requiredFiles = @(
|
||||
"backend/src/tasks/worker.ts",
|
||||
"backend/src/routes/health.ts",
|
||||
"backend/src/routes/platform-bootstrap.ts",
|
||||
"backend/src/routes/platform-management.ts",
|
||||
"backend/src/routes/auth.ts",
|
||||
"backend/src/tenancy/platform-config-repository.ts",
|
||||
"backend/src/tenancy/platform-admin-repository.ts",
|
||||
"backend/src/server.ts",
|
||||
"backend/tests/backend-contract.test.mjs",
|
||||
"backend/tests/migration-contract.test.mjs",
|
||||
@@ -31,6 +33,7 @@ $requiredFiles = @(
|
||||
"backend/tests/legacy-read-repository.test.mjs",
|
||||
"backend/tests/task-repository.test.mjs",
|
||||
"backend/tests/platform-config-repository.test.mjs",
|
||||
"backend/tests/platform-management.test.mjs",
|
||||
"backend/tests/auth.test.mjs",
|
||||
"backend/tests/rbac.test.mjs",
|
||||
"scripts/dev/wsl/mysql-migration-roundtrip.sh",
|
||||
@@ -81,6 +84,11 @@ if ($LASTEXITCODE -ne 0) {
|
||||
throw "backend contract test failed"
|
||||
}
|
||||
|
||||
& node backend/tests/platform-management.test.mjs
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
throw "platform management test failed"
|
||||
}
|
||||
|
||||
& npm --prefix backend run build
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
throw "backend build failed"
|
||||
|
||||
Reference in New Issue
Block a user