From 0421311cda094923c8df69971f58c57833ca8819 Mon Sep 17 00:00:00 2001 From: ewt45 <79033456+ewt45@users.noreply.github.com> Date: Sat, 11 May 2024 23:54:06 +0800 Subject: [PATCH] Update docs.yml --- .github/workflows/docs.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 33510bec..a5f67e77 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -37,7 +37,8 @@ jobs: # 如果缓存没有命中,安装依赖 - name: Install dependencies if: steps.yarn-cache.outputs.cache-hit != 'true' - run: yarn install && yarn upgrade + # yarn 4 需要corepack安装 + run: corepack enable && yarn install && yarn upgrade # run: yarn --frozen-lockfile # 运行构建脚本