diff --git a/.github/actions/deps-setup/action.yml b/.github/actions/deps-setup/action.yml index 4a46e479..cd9f9103 100644 --- a/.github/actions/deps-setup/action.yml +++ b/.github/actions/deps-setup/action.yml @@ -7,15 +7,13 @@ inputs: runs: using: composite steps: - - name: Setup Node.js + - 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 - shell: bash - run: corepack enable && corepack prepare yarn@4 --activate - name: Install dependencies run: yarn install --frozen-lockfile shell: bash