From 6c09ff51edeeaeb1a4c02aa903418cb241aae0fb Mon Sep 17 00:00:00 2001 From: Xutaotaotao Date: Thu, 15 Aug 2024 19:52:20 +0800 Subject: [PATCH] feat: test CI --- .github/workflows/deploy.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 1e1adf2..22ef997 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -35,11 +35,17 @@ jobs: uses: actions/setup-node@v4 with: node-version: 'lts/*' - cache: 'pnpm' # Set this to npm, yarn or pnpm. + cache: 'pnpm' + # 全局安装pnpm + - name: Install pnpm + run: npm install -g pnpm + + # 安装前端依赖 - name: Install frontend dependencies - run: pnpm install # Change this to npm, yarn or pnpm. + run: pnpm install + # 构建应用 - name: Build the app uses: tauri-apps/tauri-action@v0