更新 .gitea/workflows/build-action.yaml
Frontend CI/CD / build (web-office) (push) Failing after 26s
Details
Frontend CI/CD / build (web-office) (push) Failing after 26s
Details
This commit is contained in:
parent
694ce14983
commit
3c02020e5a
|
@ -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 }}
|
||||
|
||||
# 你可以在这里添加更多步骤,例如部署到服务器或生成的静态文件存储。
|
||||
|
|
Loading…
Reference in New Issue