From 828c88fec6361bdaa436a3d65c4a4d075869c551 Mon Sep 17 00:00:00 2001 From: Steven Klaiber-Noble Date: Thu, 11 Dec 2025 15:19:33 -0500 Subject: [PATCH 1/2] Enable Corepack in createRelease action - Add corepack enable step before installing dependencies - Ensures yarn version matches package.json engines field --- .github/workflows/release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fdc3660..7ddae7b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,6 +34,9 @@ jobs: node-version: '20.x' registry-url: 'https://registry.npmjs.org' + - name: Enable Corepack + run: corepack enable + - name: Install dependencies uses: nick-fields/retry@7152eba30c6575329ac0576536151aca5a72780e # v3 with: From 3b6d8177a55bd52b285ca628929e229dd71aa586 Mon Sep 17 00:00:00 2001 From: Steven Klaiber-Noble Date: Thu, 11 Dec 2025 15:21:36 -0500 Subject: [PATCH 2/2] Use corepack option in setup-node instead of separate step - Use corepack: true in setup-node action - This is the recommended way to enable Corepack in GitHub Actions --- .github/workflows/release.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7ddae7b..9ef412e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,9 +33,7 @@ jobs: with: node-version: '20.x' registry-url: 'https://registry.npmjs.org' - - - name: Enable Corepack - run: corepack enable + corepack: true - name: Install dependencies uses: nick-fields/retry@7152eba30c6575329ac0576536151aca5a72780e # v3