ci: pin release gate to Node 22
Staging Backend Quality Gate / validate (push) Successful in 13m25s
Staging Backend Quality Gate / publish (push) Successful in 5m4s

This commit is contained in:
Jesse_Chen
2026-08-10 02:31:35 +08:00
parent 417417835a
commit f6b3301035
2 changed files with 36 additions and 0 deletions
@@ -884,6 +884,9 @@ test("manual release gate runs where Docker Compose v2 is available", () => {
assert.match(workflow, /^on:\n\s+workflow_dispatch:/m);
assert.match(workflow, /runs-on: manman-linux/);
assert.match(workflow, /NODE_TOOL_SOURCE_IMAGE: .*node:22-bookworm-slim@sha256:[0-9a-f]{64}/);
assert.match(workflow, /NODE_TOOL_IMAGE: node:22-bookworm-slim/);
assert.match(workflow, /node --version \| grep -Eq '\^v22\\\.'/);
assert.match(workflow, /docker compose version --short \| grep -Eq '\^v\?2\\\.'/);
assert.match(workflow, /PIP_INDEX_URL: https:\/\/mirrors\.aliyun\.com\/pypi\/simple\//);
assert.match(workflow, /NPM_CONFIG_REGISTRY: https:\/\/registry\.npmmirror\.com/);