From c75e1b44767fd15af530edce407710f4075eae91 Mon Sep 17 00:00:00 2001 From: yangxiaolang <1810849666@qq.com> Date: Wed, 15 Apr 2026 15:05:50 +0800 Subject: [PATCH] fix: build corepack 401 --- .build/build.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.build/build.yaml b/.build/build.yaml index 015622a1..adf5e411 100644 --- a/.build/build.yaml +++ b/.build/build.yaml @@ -82,13 +82,13 @@ spec: export YARN_GLOBAL_FOLDER=/workspace/yarn_cache/global - yarn config set npmRegistryServer https://edge-nexus.alauda.cn/repository/cnpm + export YARN_NPM_REGISTRY_SERVER=https://edge-nexus.alauda.cn/repository/cnpm - yarn set version stable + node .yarn/releases/yarn-4.13.0.cjs --version - yarn --immutable + node .yarn/releases/yarn-4.13.0.cjs --immutable - yarn build + node .yarn/releases/yarn-4.13.0.cjs build workingDir: $(workspaces.source.path) - name: build-image timeout: 30m