From e5e4e4208d76662fb5245f34edc6805694d3ac66 Mon Sep 17 00:00:00 2001 From: pavlov346346-source Date: Wed, 23 Sep 2026 14:13:54 +0300 Subject: [PATCH] ci(gitea): route npm through npmmirror.com, registry.npmjs.org unreachable from this host Co-Authored-By: Claude Sonnet 5 --- .gitea/workflows/qa.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitea/workflows/qa.yml b/.gitea/workflows/qa.yml index 659be70..054cde5 100644 --- a/.gitea/workflows/qa.yml +++ b/.gitea/workflows/qa.yml @@ -8,6 +8,13 @@ concurrency: jobs: qa: 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: - uses: actions/checkout@v4 - uses: actions/setup-node@v4