Skip to content

Commit 79937ba

Browse files
committed
merge conflicts
1 parent 6d187d0 commit 79937ba

File tree

1 file changed

+26
-20
lines changed

1 file changed

+26
-20
lines changed

.github/workflows/ci.yml

Lines changed: 26 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -131,18 +131,14 @@ jobs:
131131
exit 1
132132
fi
133133
134-
- name: Cache node_modules
134+
- name: Restore node_modules (cache hit)
135135
id: node-modules-cache
136136
uses: actions/cache@v5
137137
with:
138138
path: node_modules
139139
key: node-modules-${{ runner.os }}-${{ hashFiles('package-lock.json') }}
140140

141-
- name: Run sync (if cache hit)
142-
run: npm run sync
143-
if: steps.node-modules-cache.outputs.cache-hit == 'true'
144-
145-
- name: Node install (cache miss)
141+
- name: Install node_modules (cache miss)
146142
run: npm ci
147143
if: steps.node-modules-cache.outputs.cache-hit != 'true'
148144

@@ -189,18 +185,14 @@ jobs:
189185
node-version: 22.x
190186
cache: npm
191187

192-
- name: Cache node_modules
188+
- name: Restore node_modules (cache hit)
193189
id: node-modules-cache
194190
uses: actions/cache@v5
195191
with:
196192
path: node_modules
197193
key: node-modules-${{ runner.os }}-${{ hashFiles('package-lock.json') }}
198194

199-
- name: Run sync (if cache hit)
200-
run: npm run sync
201-
if: steps.node-modules-cache.outputs.cache-hit == 'true'
202-
203-
- name: Node install (cache miss)
195+
- name: Install node_modules (cache miss)
204196
run: npm ci
205197
if: steps.node-modules-cache.outputs.cache-hit != 'true'
206198

@@ -266,18 +258,14 @@ jobs:
266258
node-version: 22.x
267259
cache: npm
268260

269-
- name: Cache node_modules
261+
- name: Restore node_modules (cache hit)
270262
id: node-modules-cache
271263
uses: actions/cache@v5
272264
with:
273265
path: node_modules
274266
key: node-modules-${{ runner.os }}-${{ hashFiles('package-lock.json') }}
275267

276-
- name: Run sync (if cache hit)
277-
run: npm run sync
278-
if: steps.node-modules-cache.outputs.cache-hit == 'true'
279-
280-
- name: Node install (cache miss)
268+
- name: Install node_modules (cache miss)
281269
run: npm ci
282270
if: steps.node-modules-cache.outputs.cache-hit != 'true'
283271

@@ -313,7 +301,16 @@ jobs:
313301
node-version: 22.x
314302
cache: npm
315303

316-
- run: npm ci
304+
- name: Restore node_modules (cache hit)
305+
id: node-modules-cache
306+
uses: actions/cache@v5
307+
with:
308+
path: node_modules
309+
key: node-modules-${{ runner.os }}-${{ hashFiles('package-lock.json') }}
310+
311+
- name: Install node_modules (cache miss)
312+
run: npm ci
313+
if: steps.node-modules-cache.outputs.cache-hit != 'true'
317314

318315
- name: Post PR CI failure comment
319316
continue-on-error: true
@@ -339,7 +336,16 @@ jobs:
339336
node-version: 22.x
340337
cache: npm
341338

342-
- run: npm ci
339+
- name: Restore node_modules (cache hit)
340+
id: node-modules-cache
341+
uses: actions/cache@v5
342+
with:
343+
path: node_modules
344+
key: node-modules-${{ runner.os }}-${{ hashFiles('package-lock.json') }}
345+
346+
- name: Install node_modules (cache miss)
347+
run: npm ci
348+
if: steps.node-modules-cache.outputs.cache-hit != 'true'
343349

344350
- uses: actions/download-artifact@v8
345351
with:

0 commit comments

Comments
 (0)