ci: pin release gate to Node 22
This commit is contained in:
@@ -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/);
|
||||
|
||||
Reference in New Issue
Block a user