@@ -55,7 +55,6 @@ linuxWorkflowExcludeFilters: &linux-x64-workflow-exclude-filters
55
55
unless :
56
56
or :
57
57
- false
58
- # - equal: [ 'tgriesser/chore/fix-windows-build', << pipeline.git.branch >> ]
59
58
60
59
# windows is slow and expensive in CI, so it normally only runs on main branches
61
60
# add your branch to this list to run the full Windows build on your PR
@@ -224,7 +223,7 @@ commands:
224
223
command : node ./scripts/get-platform-key.js > platform_key
225
224
- restore_cache :
226
225
name : Restore cache state, to check for known modules cache existence
227
- key : v{{ .Environment.CACHE_VERSION }}-{{ checksum "platform_key" }}-node-modules-cache-{{ checksum "circle_cache_key" }}
226
+ key : v{{ checksum ".circleci/cache-version.txt" }}-{{ checksum "platform_key" }}-node-modules-cache-{{ checksum "circle_cache_key" }}
228
227
- run :
229
228
name : Move node_modules back from /tmp
230
229
command : |
@@ -251,7 +250,7 @@ commands:
251
250
- restore_cache :
252
251
name : Restore system tests node_modules cache
253
252
keys :
254
- - v{{ .Environment.CACHE_VERSION }}-{{ checksum "platform_key" }}-system-tests-projects-node-modules-cache-{{ checksum "system_tests_cache_key" }}
253
+ - v{{ checksum ".circleci/cache-version.txt" }}-{{ checksum "platform_key" }}-system-tests-projects-node-modules-cache-{{ checksum "system_tests_cache_key" }}
255
254
256
255
update_cached_system_tests_deps :
257
256
description : ' Update the cached node_modules for projects in "system-tests/projects/**"'
@@ -265,7 +264,7 @@ commands:
265
264
- restore_cache :
266
265
name : Restore cache state, to check for known modules cache existence
267
266
keys :
268
- - v{{ .Environment.CACHE_VERSION }}-{{ checksum "platform_key" }}-state-of-system-tests-projects-node-modules-cache-{{ checksum "system_tests_cache_key" }}
267
+ - v{{ checksum ".circleci/cache-version.txt" }}-{{ checksum "platform_key" }}-state-of-system-tests-projects-node-modules-cache-{{ checksum "system_tests_cache_key" }}
269
268
- run :
270
269
name : Send root honeycomb event for this CI build
271
270
command : cd system-tests/scripts && node ./send-root-honeycomb-event.js
@@ -279,20 +278,20 @@ commands:
279
278
- restore_cache :
280
279
name : Restore system tests node_modules cache
281
280
keys :
282
- - v{{ .Environment.CACHE_VERSION }}-{{ checksum "platform_key" }}-system-tests-projects-node-modules-cache-{{ checksum "system_tests_cache_key" }}
283
- - v{{ .Environment.CACHE_VERSION }}-{{ checksum "platform_key" }}-system-tests-projects-node-modules-cache-
281
+ - v{{ checksum ".circleci/cache-version.txt" }}-{{ checksum "platform_key" }}-system-tests-projects-node-modules-cache-{{ checksum "system_tests_cache_key" }}
282
+ - v{{ checksum ".circleci/cache-version.txt" }}-{{ checksum "platform_key" }}-system-tests-projects-node-modules-cache-
284
283
- run :
285
284
name : Update system-tests node_modules cache
286
285
command : yarn workspace @tooling/system-tests projects:yarn:install
287
286
- save_cache :
288
287
name : Save system tests node_modules cache
289
- key : v{{ .Environment.CACHE_VERSION }}-{{ checksum "platform_key" }}-system-tests-projects-node-modules-cache-{{ checksum "system_tests_cache_key" }}
288
+ key : v{{ checksum ".circleci/cache-version.txt" }}-{{ checksum "platform_key" }}-system-tests-projects-node-modules-cache-{{ checksum "system_tests_cache_key" }}
290
289
paths :
291
290
- /tmp/cy-system-tests-node-modules
292
291
- run : touch /tmp/system_tests_node_modules_installed
293
292
- save_cache :
294
293
name : Save system tests node_modules cache state key
295
- key : v{{ .Environment.CACHE_VERSION }}-{{ checksum "platform_key" }}-state-of-system-tests-projects-node-modules-cache-{{ checksum "system_tests_cache_key" }}
294
+ key : v{{ checksum ".circleci/cache-version.txt" }}-{{ checksum "platform_key" }}-state-of-system-tests-projects-node-modules-cache-{{ checksum "system_tests_cache_key" }}
296
295
paths :
297
296
- /tmp/system_tests_node_modules_installed
298
297
@@ -312,7 +311,7 @@ commands:
312
311
command : node ./scripts/get-platform-key.js > platform_key
313
312
- restore_cache :
314
313
name : Restore cache state, to check for known modules cache existence
315
- key : v{{ .Environment.CACHE_VERSION }}-{{ checksum "platform_key" }}-state-of-node-modules-cache-{{ checksum "circle_cache_key" }}
314
+ key : v{{ checksum ".circleci/cache-version.txt" }}-{{ checksum "platform_key" }}-state-of-node-modules-cache-{{ checksum "circle_cache_key" }}
316
315
- run :
317
316
name : Bail if cache exists
318
317
command : |
@@ -324,7 +323,7 @@ commands:
324
323
- restore_cache :
325
324
name : Restore weekly yarn cache
326
325
keys :
327
- - v{{ .Environment.CACHE_VERSION }}-{{ checksum "platform_key" }}-deps-root-weekly-{{ checksum "cache_date" }}
326
+ - v{{ checksum ".circleci/cache-version.txt" }}-{{ checksum "platform_key" }}-deps-root-weekly-{{ checksum "cache_date" }}
328
327
- run :
329
328
name : Install Node Modules
330
329
command : |
@@ -341,7 +340,7 @@ commands:
341
340
steps :
342
341
- save_cache :
343
342
name : Saving node modules for root, cli, and all globbed workspace packages
344
- key : v{{ .Environment.CACHE_VERSION }}-{{ checksum "platform_key" }}-node-modules-cache-{{ checksum "circle_cache_key" }}
343
+ key : v{{ checksum ".circleci/cache-version.txt" }}-{{ checksum "platform_key" }}-node-modules-cache-{{ checksum "circle_cache_key" }}
345
344
paths :
346
345
- node_modules
347
346
- cli/node_modules
@@ -352,18 +351,18 @@ commands:
352
351
steps :
353
352
- save_cache :
354
353
name : Saving node modules for root, cli, and all globbed workspace packages
355
- key : v{{ .Environment.CACHE_VERSION }}-{{ checksum "platform_key" }}-node-modules-cache-{{ checksum "circle_cache_key" }}
354
+ key : v{{ checksum ".circleci/cache-version.txt" }}-{{ checksum "platform_key" }}-node-modules-cache-{{ checksum "circle_cache_key" }}
356
355
paths :
357
356
- /tmp/node_modules_cache
358
357
- run : touch node_modules_installed
359
358
- save_cache :
360
359
name : Saving node-modules cache state key
361
- key : v{{ .Environment.CACHE_VERSION }}-{{ checksum "platform_key" }}-state-of-node-modules-cache-{{ checksum "circle_cache_key" }}
360
+ key : v{{ checksum ".circleci/cache-version.txt" }}-{{ checksum "platform_key" }}-state-of-node-modules-cache-{{ checksum "circle_cache_key" }}
362
361
paths :
363
362
- node_modules_installed
364
363
- save_cache :
365
364
name : Save weekly yarn cache
366
- key : v{{ .Environment.CACHE_VERSION }}-{{ checksum "platform_key" }}-deps-root-weekly-{{ checksum "cache_date" }}
365
+ key : v{{ checksum ".circleci/cache-version.txt" }}-{{ checksum "platform_key" }}-deps-root-weekly-{{ checksum "cache_date" }}
367
366
paths :
368
367
- ~/.yarn
369
368
- ~/.cy-npm-cache
@@ -902,7 +901,7 @@ commands:
902
901
fi
903
902
904
903
curl -L https://raw.githubusercontent.com/cypress-io/cypress/$branch/scripts/ensure-node.sh --output ci-ensure-node.sh
905
- else
904
+ else
906
905
# if no .node-version file exists, we no-op the node script and use the global yarn
907
906
echo '' > ci-ensure-node.sh
908
907
fi
@@ -1031,7 +1030,7 @@ commands:
1031
1030
# by default, electron-builder will NOT sign app built in a pull request
1032
1031
# even our internal one (!)
1033
1032
# Usually this is not a problem, since we only build and test binary
1034
- # built on "develop" and "master" branches
1033
+ # built on the "develop" branch
1035
1034
# but if you need to really build and sign a binary in a PR
1036
1035
# set variable CSC_FOR_PULL_REQUEST=true
1037
1036
command : |
0 commit comments