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

This commit is contained in:
z9130 2024-09-16 15:17:23 +08:00
parent 0171cf4b6d
commit 7c30d5f40c
1 changed files with 12 additions and 8 deletions

View File

@ -11,17 +11,21 @@ jobs:
project: [web-office]
steps:
# # Set up Node.js environment
# - name: Set up Node.js
# uses: https://gitee.com/z9130/actions-setup-node.git@v3
# with:
# node-version: "22" # 确保使用与你项目兼容的 Node.js 版本
# Checkout the repository
# - name: Checkout repository
# uses: https://gitee.com/z9130/actions-checkout.git@v4
# - name: Checkout the repository
# uses: actions/checkout@v4
# with:
# fetch-depth: 0
- name: Clone repository
run: |
git clone http://172.19.183.27:3000/z9130/pansoft-plrl.git --depth 1
cd your-repo
# Optionally check out a specific branch
git checkout test
- name: set registry
- run: npm config set registry https://registry.npmmirror.com
# Install pnpm
- name: Install pnpm