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