From abc1e6acc3ef6da6f812d5e87a32546787084918 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=9C=E5=BA=86=E9=91=AB?= <132878537+BQXBQX@users.noreply.github.com> Date: Tue, 23 Jan 2024 23:47:54 +0800 Subject: [PATCH] Update ui_deploy.yml --- .github/workflows/ui_deploy.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ui_deploy.yml b/.github/workflows/ui_deploy.yml index ff59531..7719d88 100644 --- a/.github/workflows/ui_deploy.yml +++ b/.github/workflows/ui_deploy.yml @@ -24,10 +24,16 @@ jobs: - name: Install rsync run: sudo apt-get install rsync -y + - name: install pnpm + uses: pnpm/action-setup@v2.4.0 + with: + version: 8 + run_install: true + - - name: npm i + - name: pnpm i run: | - npm i + pnpm i - name: cd ui run: | @@ -36,7 +42,7 @@ jobs: - name: build run: | - npm run build + pnpm run build - name: Deploy to Server uses: easingthemes/ssh-deploy@v5.0.0