From 0316a402c6979a6f9d0efaafe965d118238ea46c Mon Sep 17 00:00:00 2001 From: yangxiaolang <1810849666@qq.com> Date: Wed, 15 Apr 2026 15:31:43 +0800 Subject: [PATCH] fix: build corepack 401 --- .build/build.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.build/build.yaml b/.build/build.yaml index adf5e41..2eeea8b 100644 --- a/.build/build.yaml +++ b/.build/build.yaml @@ -78,17 +78,17 @@ spec: script: > # set -x - export COREPACK_NPM_REGISTRY=https://edge-nexus.alauda.cn/repository/cnpm + export COREPACK_NPM_REGISTRY=https://edge-nexus1.alauda.cn/repository/cnpm export YARN_GLOBAL_FOLDER=/workspace/yarn_cache/global - export YARN_NPM_REGISTRY_SERVER=https://edge-nexus.alauda.cn/repository/cnpm + yarn config set npmRegistryServer https://edge-nexus1.alauda.cn/repository/cnpm - node .yarn/releases/yarn-4.13.0.cjs --version + yarn set version stable - node .yarn/releases/yarn-4.13.0.cjs --immutable + yarn --immutable - node .yarn/releases/yarn-4.13.0.cjs build + yarn build workingDir: $(workspaces.source.path) - name: build-image timeout: 30m