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