From db2171e5636dc436a17af9ff3d5f913859d7e4da Mon Sep 17 00:00:00 2001 From: xiangheng <11675084@qq.com> Date: Fri, 28 Jun 2024 12:40:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E7=94=A8pnpm?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy_docs.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy_docs.yml b/.github/workflows/deploy_docs.yml index e25b50a..ad9a15e 100644 --- a/.github/workflows/deploy_docs.yml +++ b/.github/workflows/deploy_docs.yml @@ -32,17 +32,17 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 # 如果未启用 lastUpdated,则不需要 - - uses: pnpm/action-setup@v4 - with: - version: 9 + # - uses: pnpm/action-setup@v4 + # with: + # version: 9 - name: Setup Node uses: actions/setup-node@v4 with: node-version: 20 - cache: pnpm # 或 pnpm / yarn + cache: npm # 或 pnpm / yarn - name: Install dependencies - run: pnpm install + run: npm install working-directory: docs - name: Setup Pages uses: actions/configure-pages@v4