Skip to content

Commit 99c2476

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

File tree

3 files changed

+17
-14
lines changed

3 files changed

+17
-14
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

.yarnrc.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,24 +13,24 @@ supportedArchitectures:
1313
- current
1414

1515
packageExtensions:
16-
"@angular-devkit/build-angular@*":
16+
'@angular-devkit/build-angular@*':
1717
dependencies:
18-
minimatch: "3.0.5"
19-
webpack: "^5.76.0"
18+
minimatch: '3.0.5'
19+
webpack: '^5.76.0'
2020

21-
"@size-limit/webpack@*":
21+
'@size-limit/webpack@*':
2222
dependencies:
23-
webpack: "^5.76.0"
23+
webpack: '^5.76.0'
2424

25-
"serve-handler@*":
25+
'serve-handler@*':
2626
dependencies:
27-
minimatch: "3.0.5"
28-
path-to-regexp: "3.3.0"
27+
minimatch: '3.0.5'
28+
path-to-regexp: '3.3.0'
2929

30-
"codelyzer@*":
30+
'codelyzer@*':
3131
dependencies:
32-
"@angular/core": "10.2.5"
32+
'@angular/core': '^14.3.0'
3333

34-
"next-plugin-preval@*":
34+
'next-plugin-preval@*':
3535
dependencies:
36-
webpack: "^5.76.0"
36+
webpack: '^5.76.0'

0 commit comments

Comments
 (0)