From 02b54c253ce6f33c0bcab6e86856b7d77bac1254 Mon Sep 17 00:00:00 2001 From: Harry Chen Date: Wed, 25 Dec 2024 00:18:40 +0800 Subject: [PATCH] fix: pnpm install --- .github/workflows/site.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/site.yml b/.github/workflows/site.yml index 6c272dd441e..38536b5def9 100644 --- a/.github/workflows/site.yml +++ b/.github/workflows/site.yml @@ -30,11 +30,11 @@ jobs: # 安装根目录依赖 - name: Install root dependencies - run: npm install + run: pnpm install # 构建根目录项目 - name: Build root project - run: npm run build --if-present + run: pnpm run build --if-present # 安装和构建 site 目录 - name: Install and build site