From d5288b17c3e4186020005cab42b96cee7b474f49 Mon Sep 17 00:00:00 2001 From: lipeng Date: Fri, 26 Jan 2024 17:02:07 +0800 Subject: [PATCH] tecent --- .beagle.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.beagle.yml b/.beagle.yml index 9782939..6f5d328 100644 --- a/.beagle.yml +++ b/.beagle.yml @@ -31,10 +31,8 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行 image: registry.cn-qingdao.aliyuncs.com/wod/devops-node:16.16.0-slim # 将宿主机中文件夹挂载到容器中,宿主机文件夹中的文件会被容器访问并修改,起到使用缓存的作用,避免每次运行都要重现下载依赖,提高运行速度 commands: - # - npm install -g cnpm --registry=https://registry.npm.taobao.org - # - cnpm install - # - npm install -g cnpm --registry=https://registry.npm.taobao.org - - npm install + - yarn config set -g registry http://mirrors.cloud.tencent.com/npm/ + - yarn - export NODE_ENV=production - yarn build -- 2.26.0