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