From b1f874005427f36c30187b428a2e66c5609cc47d Mon Sep 17 00:00:00 2001 From: jeremydolle Date: Tue, 8 Oct 2024 14:23:26 +0200 Subject: [PATCH] chore: Update yarn installation command to use Yarn v4 and add Yarn v4 installation step --- .github/actions/deps-setup/action.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/actions/deps-setup/action.yml b/.github/actions/deps-setup/action.yml index cd9f9103..6f17768e 100644 --- a/.github/actions/deps-setup/action.yml +++ b/.github/actions/deps-setup/action.yml @@ -9,11 +9,15 @@ runs: steps: - name: Setup Node.js and yarn v4 uses: actions/setup-node@v4 - run: corepack enable && corepack prepare yarn@4 --activate with: node-version: '20.x' cache: 'yarn' cache-dependency-path: ${{ inputs.working_directory }}/yarn.lock + + - name: Install Yarn v4 + run: corepack enable && corepack prepare yarn@4 --activate + shell: bash + - name: Install dependencies run: yarn install --frozen-lockfile shell: bash