Use reachable npm registry in Gitea CI
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user