From a93cbdc31f21b7dbe38e238a45fefa9d0a37e17e Mon Sep 17 00:00:00 2001 From: btea <2356281422@qq.com> Date: Thu, 13 Feb 2025 12:46:34 +0800 Subject: [PATCH] ci: fix corepack enable error --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 242f4f89c0a7..b554eabdc35a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: node-version-file: '.nvmrc' - name: Install pnpm run: | - corepack enable + npm i -g --force corepack && corepack enable corepack prepare pnpm@next-9 --activate - name: Install dependencies run: pnpm install