From ba188ff2d870c4cbbf045c88dcafc6a0c0a18d2d Mon Sep 17 00:00:00 2001 From: alboped Date: Sun, 5 Apr 2026 18:44:01 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E4=BC=98=E5=8C=96ci=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/ci.yml | 1 - .npmrc | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 .npmrc diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index d5e5a22..010fe95 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -27,7 +27,6 @@ jobs: # 使用 Job 镜像(node:22-bookworm)自带的 Node,不再使用 actions/setup-node,避免重复下载 Node - name: Setup Yarn run: | - npm config set registry https://registry.npmmirror.com corepack enable corepack prepare yarn@1.22.22 --activate echo "node -v: $(node -v)" diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..7549542 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +registry=https://registry.npmmirror.com