fix(staging): bound frontend quality build
Staging Backend Quality Gate / validate (pull_request) Successful in 11m6s
Staging Backend Quality Gate / publish (pull_request) Has been skipped

This commit is contained in:
Jesse
2026-08-07 00:06:45 +08:00
parent 6fd2292119
commit f145f52b01
4 changed files with 28 additions and 1 deletions
@@ -210,6 +210,8 @@ test("Gitea quality gate validates before publishing an immutable ACR manifest",
assert.equal((workflow.match(/npm test --prefix frontend/g) ?? []).length, 1);
assert.equal((workflow.match(/npm run lint --prefix frontend/g) ?? []).length, 1);
assert.equal((workflow.match(/npm run build --prefix frontend/g) ?? []).length, 1);
assert.match(workflow, /timeout 600 npm run build --prefix frontend/);
assert.match(workflow, /frontend production build exceeded bounded 600-second timeout/);
assert.match(workflow, /needs: validate/);
assert.match(workflow, /IMAGE_REPOSITORY: crpi-[^\n]+\/copse\/jyotisha/);
assert.match(workflow, /\$IMAGE_REPOSITORY:api-\$GITEA_SHA/);