From c72e973df7ec63ec8c3694d504033729f67555d8 Mon Sep 17 00:00:00 2001 From: Alex Layton Date: Tue, 19 Nov 2024 10:23:20 -0500 Subject: [PATCH] fix: use corepack for yarn workflow --- .github/workflows/build-and-publish-package.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-publish-package.yml b/.github/workflows/build-and-publish-package.yml index c7b619e..ea22272 100644 --- a/.github/workflows/build-and-publish-package.yml +++ b/.github/workflows/build-and-publish-package.yml @@ -103,11 +103,13 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - name: Enable Corepack + run: corepack enable - uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 cache: yarn - - run: yarn install + - run: yarn install --immutable - run: yarn build - uses: actions/upload-artifact@v4 with: