fix(staging): bound frontend quality build
This commit is contained in:
@@ -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/);
|
||||
|
||||
Reference in New Issue
Block a user