@@ -19,19 +19,19 @@ jobs:
1919 node-version : ' 20'
2020 - name : Enable Corepack
2121 shell : bash
22- run : |
23- corepack enable
24- corepack prepare yarn@4.10.3 --activate
22+ run : corepack enable
2523 - uses : actions/cache@v4
2624 id : yarn-cache
27- name : Cache yarn deps
25+ name : Load Yarn cache
2826 with :
2927 path : |
30- node_modules
31- **/node_modules
32- key : ${{ runner.os }}-yarn-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock') }}
33- - run : yarn install --immutable
34- if : steps.yarn-cache.outputs.cache-hit != 'true'
28+ .yarn/cache
29+ key : ${{ runner.os }}-yarn-cache-${{ hashFiles('yarn.lock') }}
30+ restore-keys : |
31+ ${{ runner.os }}-yarn-cache-
32+ - name : Install dependencies
33+ shell : bash
34+ run : yarn install --immutable --network-timeout 100000
3535 - uses : actions/cache@v4
3636 id : dist
3737 name : Cache dist
@@ -60,19 +60,19 @@ jobs:
6060 node-version : ' 20'
6161 - name : Enable Corepack
6262 shell : bash
63- run : |
64- corepack enable
65- corepack prepare yarn@4.10.3 --activate
63+ run : corepack enable
6664 - uses : actions/cache@v4
6765 id : yarn-cache
68- name : Cache yarn deps
66+ name : Load Yarn cache
6967 with :
7068 path : |
71- node_modules
72- **/node_modules
73- key : ${{ runner.os }}-yarn-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock') }}
74- - run : yarn install --immutable
75- if : steps.yarn-cache.outputs.cache-hit != 'true'
69+ .yarn/cache
70+ key : ${{ runner.os }}-yarn-cache-${{ hashFiles('yarn.lock') }}
71+ restore-keys : |
72+ ${{ runner.os }}-yarn-cache-
73+ - name : Install dependencies
74+ shell : bash
75+ run : yarn install --immutable --network-timeout 100000
7676 - uses : actions/cache@v4
7777 id : lint-cache
7878 name : Load lint cache
@@ -102,19 +102,19 @@ jobs:
102102 node-version : ' 20'
103103 - name : Enable Corepack
104104 shell : bash
105- run : |
106- corepack enable
107- corepack prepare yarn@4.10.3 --activate
105+ run : corepack enable
108106 - uses : actions/cache@v4
109107 id : yarn-cache
110- name : Cache yarn deps
108+ name : Load Yarn cache
111109 with :
112110 path : |
113- node_modules
114- **/node_modules
115- key : ${{ runner.os }}-yarn-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock') }}
116- - run : yarn install --immutable
117- if : steps.yarn-cache.outputs.cache-hit != 'true'
111+ .yarn/cache
112+ key : ${{ runner.os }}-yarn-cache-${{ hashFiles('yarn.lock') }}
113+ restore-keys : |
114+ ${{ runner.os }}-yarn-cache-
115+ - name : Install dependencies
116+ shell : bash
117+ run : yarn install --immutable --network-timeout 100000
118118 - uses : actions/cache@v4
119119 id : dist
120120 name : Cache dist
@@ -146,20 +146,20 @@ jobs:
146146 node-version : ' 20'
147147 - name : Enable Corepack
148148 shell : bash
149- run : |
150- corepack enable
151- corepack prepare yarn@4.10.3 --activate
149+ run : corepack enable
152150 - uses : actions/cache@v4
153151 id : yarn-cache
154- name : Cache yarn deps
152+ name : Load Yarn cache
155153 with :
156154 path : |
157- node_modules
158- **/node_modules
159- ~/.cache/puppeteer
160- key : ${{ runner.os }}-yarn-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock') }}
161- - run : yarn install --immutable
162- if : steps.yarn-cache.outputs.cache-hit != 'true'
155+ .yarn/cache
156+ ~/.cache/puppeteer
157+ key : ${{ runner.os }}-yarn-cache-${{ hashFiles('yarn.lock') }}
158+ restore-keys : |
159+ ${{ runner.os }}-yarn-cache-
160+ - name : Install dependencies
161+ shell : bash
162+ run : yarn install --immutable --network-timeout 100000
163163 - uses : actions/cache@v4
164164 id : dist
165165 name : Cache dist
0 commit comments