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