File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ ENV PNPM_HOME="/pnpm"
1616ENV PATH="$PNPM_HOME:$PATH"
1717
1818# # corepack 环境变量
19- ENV COREPACK_NPM_REGISTRY=https://mirrors.tencent.com/npm/
19+ # ENV COREPACK_NPM_REGISTRY=https://mirrors.tencent.com/npm/
2020
2121WORKDIR /apps
2222COPY . .
Original file line number Diff line number Diff line change 55# # ./scripts/ci
66# #
77
8-
98NPM_REGISTRY=" https://mirrors.tencent.com/npm/"
109
1110# # 获取所有参数
12- echo " 运行命令: COREPACK_NPM_REGISTRY=$NPM_REGISTRY corepack enable pnpm && pnpm i --registry $NPM_REGISTRY --frozen-lockfile $* "
13-
14- # 安装pnpm版本
15- COREPACK_NPM_REGISTRY=$NPM_REGISTRY corepack enable pnpm
11+ echo " 运行命令: export COREPACK_NPM_REGISTRY=$NPM_REGISTRY && corepack enable pnpm && pnpm i --registry $NPM_REGISTRY --frozen-lockfile $* "
1612
13+ # 导出corepack环境变量,安装pnpm版本
14+ export COREPACK_NPM_REGISTRY=$NPM_REGISTRY && corepack enable pnpm
1715
1816# 安装项目依赖 -w -F @142vip/fairy-cli
1917pnpm i --registry $NPM_REGISTRY --frozen-lockfile " $@ "
You can’t perform that action at this time.
0 commit comments