diff --git a/.github/workflows/build-development.yml b/.github/workflows/build-development.yml index 85dd4725ca..a9cfe6f88f 100644 --- a/.github/workflows/build-development.yml +++ b/.github/workflows/build-development.yml @@ -11,6 +11,10 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 + # Has to be run before actions/setup-node. + # See: https://github.com/actions/setup-node/issues/480 + - name: Enable corepack for Yarn + run: corepack enable - name: Setup node uses: actions/setup-node@v4 with: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d0bf5edc7c..41c98428f7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,6 +26,10 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 + # Has to be run before actions/setup-node. + # See: https://github.com/actions/setup-node/issues/480 + - name: Enable corepack for Yarn + run: corepack enable - name: Setup node uses: actions/setup-node@v4 with: