From 9c83fcc7c14266aa71375bbaf782df87cec6b03d Mon Sep 17 00:00:00 2001 From: SpecialX <47072643+wangxiner55@users.noreply.github.com> Date: Wed, 25 Feb 2026 11:30:07 +0800 Subject: [PATCH] chore-npm-ci-stable --- .gitea/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index c6626a6..f009915 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -31,6 +31,13 @@ jobs: restore-keys: | ${{ runner.os }}-node- + - name: Configure npm registry + run: | + npm config set registry https://registry.npmmirror.com + npm config set fetch-retries 5 + npm config set fetch-retry-mintimeout 20000 + npm config set fetch-retry-maxtimeout 120000 + - name: Install dependencies run: npm ci