Use reachable npm registry in Gitea CI
Staging Backend Quality Gate / validate (pull_request) Has been cancelled
Staging Backend Quality Gate / publish (pull_request) Has been cancelled

This commit is contained in:
Jesse_Chen
2026-08-05 16:41:23 +08:00
parent 9190b0edef
commit 0127321c06
2 changed files with 2 additions and 0 deletions
@@ -164,6 +164,7 @@ jobs:
env:
PIP_INDEX_URL: https://mirrors.aliyun.com/pypi/simple/
PLAYWRIGHT_DOWNLOAD_HOST: https://registry.npmmirror.com/-/binary/playwright
NPM_CONFIG_REGISTRY: https://registry.npmmirror.com
run: |
set -euo pipefail
python3 -m venv .venv
@@ -132,6 +132,7 @@ test("Gitea quality gate validates before publishing an immutable ACR manifest",
assert.match(workflow, /python3 -m venv \.venv/);
assert.match(workflow, /PIP_INDEX_URL: https:\/\/mirrors\.aliyun\.com\/pypi\/simple\//);
assert.match(workflow, /PLAYWRIGHT_DOWNLOAD_HOST: https:\/\/registry\.npmmirror\.com\/-\/binary\/playwright/);
assert.match(workflow, /NPM_CONFIG_REGISTRY: https:\/\/registry\.npmmirror\.com/);
for (const constraint of [
'mcp==1.28.1',
'pydantic==2.13.4',