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

This commit is contained in:
z9130 2024-09-17 12:37:15 +08:00
parent 950c18df0f
commit b038d9e55b
1 changed files with 3 additions and 8 deletions

View File

@ -30,22 +30,17 @@ jobs:
# Clone repository
- name: Clone repository
run: |
echo "Cloning repository..."
git clone http://172.19.183.27:3000/z9130/pansoft-plrl.git pansoft-plrl --depth 1
cd pansoft-plrl
git checkout test
echo "Repository cloned and checked out to test branch."
uses: https://gitea.com/actions/checkout@v4
# Cache pnpm dependencies
- name: Cache pnpm store
uses: actions/cache@v3
uses: https://gitea.com/actions/cache@v3
id: pnpm-cache
with:
path: .pnpm-store
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('pansoft-plrl/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
${{ runner.os }}-pnpm-store-
# Install dependencies and build
- name: Install dependencies and build