ci(gitea): route npm through npmmirror.com, registry.npmjs.org unreachable from this host
Some checks failed
Caterium QA / qa (push) Failing after 1m12s

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
pavlov346346-source 2026-09-23 14:13:54 +03:00
parent 8f5fff421a
commit e5e4e4208d

View File

@ -8,6 +8,13 @@ concurrency:
jobs: jobs:
qa: qa:
runs-on: ubuntu-latest runs-on: ubuntu-latest
env:
# registry.npmjs.org sits behind Cloudflare IPs that this self-hosted
# runner cannot reach (times out on both IPv4 and IPv6). npmmirror.com
# mirrors the full npm registry and is reachable, so point npm at it
# instead of failing every install. GitHub-hosted runners don't need
# this, which is why .github/workflows/qa.yml doesn't set it.
NPM_CONFIG_REGISTRY: https://registry.npmmirror.com
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4