From 7c30d5f40c552de408e42a15ddc6f12c4f0131c7 Mon Sep 17 00:00:00 2001 From: z9130 <984661593@qq.com> Date: Mon, 16 Sep 2024 15:17:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20.gitea/workflows/build-act?= =?UTF-8?q?ion.yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/build-action.yaml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/build-action.yaml b/.gitea/workflows/build-action.yaml index ae59500f..8e33467f 100644 --- a/.gitea/workflows/build-action.yaml +++ b/.gitea/workflows/build-action.yaml @@ -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