Skip to content

Commit 0d9cb27

Browse files
committed
chore: Update yarn installation command to use Yarn v4 and setup Node.js
1 parent 0b130be commit 0d9cb27

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/actions/deps-setup/action.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,13 @@ inputs:
77
runs:
88
using: composite
99
steps:
10-
- name: Setup Node.js
10+
- name: Setup Node.js and yarn v4
1111
uses: actions/setup-node@v4
12+
run: corepack enable && corepack prepare yarn@4 --activate
1213
with:
1314
node-version: '20.x'
1415
cache: 'yarn'
1516
cache-dependency-path: ${{ inputs.working_directory }}/yarn.lock
16-
- name: Install Yarn v4
17-
shell: bash
18-
run: corepack enable && corepack prepare yarn@4 --activate
1917
- name: Install dependencies
2018
run: yarn install --frozen-lockfile
2119
shell: bash

0 commit comments

Comments
 (0)