This commit is contained in:
@@ -92,11 +92,15 @@ jobs:
|
||||
# 3. 安装依赖 & 构建 Uni-app (H5)
|
||||
###############################################
|
||||
- name: Install dependencies and Build H5
|
||||
env:
|
||||
DEPLOY_ENV: ${{ steps.detect.outputs.env }}
|
||||
run: |
|
||||
set -e
|
||||
# pnpm真实路径
|
||||
PNPM_PATH="/root/.nvm/versions/node/v20.20.2/bin/pnpm"
|
||||
|
||||
echo "构建环境: DEPLOY_ENV=$DEPLOY_ENV"
|
||||
|
||||
# 1. 配置镜像并安装依赖
|
||||
$PNPM_PATH config set registry https://registry.npmmirror.com
|
||||
$PNPM_PATH install --frozen-lockfile
|
||||
|
||||
Reference in New Issue
Block a user