Skip to content

Commit

Permalink
chore: Update yarn installation command to use Yarn v4 and add Yarn v…
Browse files Browse the repository at this point in the history
…4 installation step
  • Loading branch information
JeremyDolle committed Oct 8, 2024
1 parent 0d9cb27 commit b1f8740
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/actions/deps-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b1f8740

Please sign in to comment.