From a5c8c4bc32e5307f026af6615a65c37249f8297b Mon Sep 17 00:00:00 2001 From: WhitePaper233 <1423634265@qq.com> Date: Sun, 24 Nov 2024 01:23:29 +0800 Subject: [PATCH] fix enable corepack --- .github/workflows/astro.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/astro.yml b/.github/workflows/astro.yml index 5d2a604..5fedffc 100644 --- a/.github/workflows/astro.yml +++ b/.github/workflows/astro.yml @@ -43,14 +43,14 @@ jobs: echo "Unable to determine package manager" exit 1 fi + - name: Enable Corepack + run: corepack enable - name: Setup Node uses: actions/setup-node@v4 with: node-version: "20" cache: ${{ steps.detect-package-manager.outputs.manager }} cache-dependency-path: ${{ env.BUILD_PATH }}/${{ steps.detect-package-manager.outputs.lockfile }} - - name: Enable Corepack - run: corepack enable - name: Setup Pages id: pages uses: actions/configure-pages@v5