更新 .gitea/workflows/build-action.yaml
Frontend CI/CD / build (web-office) (push) Failing after 26s Details

This commit is contained in:
z9130 2024-09-16 16:31:45 +08:00
parent 694ce14983
commit 3c02020e5a
1 changed files with 13 additions and 9 deletions

View File

@ -30,16 +30,20 @@ jobs:
# Install pnpm
- name: Install pnpm
run: npm install -g pnpm
run: |
npm install -g pnpm
cd pansoft-plrl
pnpm install
pnpm build --filter apps/${{ matrix.project }}
# Install dependencies using Turborepo
- name: Install dependencies with Turborepo
run: pnpm install
# # Install dependencies using Turborepo
# - name: Install dependencies with Turborepo
# run: pnpm install
# Build the project
- name: Build project
env:
TURBO_FORCE: true # 强制全量构建,确保 Turborepo 正确地优化构建过程
run: pnpm build --filter apps/${{ matrix.project }}
# # Build the project
# - name: Build project
# env:
# TURBO_FORCE: true # 强制全量构建,确保 Turborepo 正确地优化构建过程
# run: pnpm build --filter apps/${{ matrix.project }}
# 你可以在这里添加更多步骤,例如部署到服务器或生成的静态文件存储。