Skip to content

Commit

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

0 comments on commit 0d9cb27

Please sign in to comment.