Skip to content

Commit 86965b9

Browse files
author
Ahmed Hamouda
committed
fix: update workflows to use yarn v4
1 parent 94a4f0c commit 86965b9

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/reusable-setup-cache.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@ jobs:
2626
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 https://github.com/actions/setup-node/commit/60edb5dd545a775178f52524783378180af0d1f8
2727
with:
2828
node-version: 20
29-
cache: 'yarn'
3029
env:
3130
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2
31+
- name: Enable Corepack
32+
run: corepack enable
3233
- name: Restore cypress runner from Cache
3334
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 https://github.com/actions/cache/commit/1bd1e32a3bdc45362d1e726936510720a7c30a57
3435
id: restore-cypress-cache

.github/workflows/reusable-unit.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,12 @@ jobs:
4646
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 https://github.com/actions/setup-node/commit/60edb5dd545a775178f52524783378180af0d1f8
4747
with:
4848
node-version: 20
49-
cache: 'yarn'
5049
env:
5150
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2
5251

52+
- name: Enable Corepack
53+
run: corepack enable
54+
5355
- name: Restore node_modules cache
5456
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 https://github.com/actions/cache/commit/1bd1e32a3bdc45362d1e726936510720a7c30a57
5557
id: restore-cache

0 commit comments

Comments
 (0)