Skip to content

Commit 1fc0140

Browse files
committed
chore: mod npm registry
1 parent c9fad2e commit 1fc0140

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

.build/build.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,17 +78,15 @@ spec:
7878
script: >
7979
# set -x
8080
81-
export COREPACK_NPM_REGISTRY=https://edge-nexus1.alauda.cn/repository/cnpm
82-
8381
export YARN_GLOBAL_FOLDER=/workspace/yarn_cache/global
8482
85-
yarn config set npmRegistryServer https://edge-nexus1.alauda.cn/repository/cnpm
83+
export YARN_NPM_REGISTRY_SERVER=https://edge-nexus1.alauda.cn/repository/cnpm
8684
87-
yarn set version stable
85+
node .yarn/releases/yarn-4.13.0.cjs --version
8886
89-
yarn --immutable
87+
node .yarn/releases/yarn-4.13.0.cjs --immutable
9088
91-
yarn build
89+
node .yarn/releases/yarn-4.13.0.cjs build
9290
workingDir: $(workspaces.source.path)
9391
- name: build-image
9492
timeout: 30m

0 commit comments

Comments
 (0)