From abdaed01a0f00d096b64f1cc0873cac6a175de39 Mon Sep 17 00:00:00 2001 From: DrAv0011 Date: Sun, 20 Sep 2026 16:53:16 +0200 Subject: [PATCH] fix(ci): enable Corepack before Yarn caching --- .github/workflows/mc-tests.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/mc-tests.yml b/.github/workflows/mc-tests.yml index 7899e69..4e6ffc1 100644 --- a/.github/workflows/mc-tests.yml +++ b/.github/workflows/mc-tests.yml @@ -37,14 +37,16 @@ jobs: with: path: server + # setup-node's Yarn cache invokes `yarn` during the action, so Corepack + # must select the packageManager-pinned Yarn before setup-node starts. + - run: corepack enable + - uses: actions/setup-node@v7 with: node-version: 24 cache: yarn cache-dependency-path: server/yarn.lock - - run: corepack enable - - run: yarn install --immutable - name: Set up Regolith