11orbs :
2- win : circleci/windows@2.2 .0
2+ win : circleci/windows@2.4 .0
3344
55executors :
@@ -8,15 +8,7 @@ executors:
88 image :
99 type : string
1010 # First 10.x LTS release, but old Yarn
11- default : " 10.13"
12- docker :
13- - image : circleci/node:<< parameters.image >>
14- node_10_19 :
15- parameters :
16- image :
17- type : string
18- # More recent Yarn binary
19- default : " 10.19"
11+ default : " 12.13"
2012 docker :
2113 - image : circleci/node:<< parameters.image >>
2214
@@ -34,7 +26,12 @@ aliases:
3426 install_node_modules : &install_node_modules
3527 run :
3628 name : Install node modules
37- command : yarn --frozen-lockfile
29+ command : yarn
30+
31+ check_lockfile : &check_lockfile
32+ run :
33+ name : Check for dirty lockfile
34+ command : ./scripts/check-lockfile.sh || exit 1
3835
3936 persist_cache : &persist_cache
4037 save_cache :
@@ -85,7 +82,7 @@ aliases:
8582 requires :
8683 - lint
8784 - typecheck
88- - unit_tests_node10
85+ - unit_tests_node12
8986
9087 e2e_tests_production_runtime_alias : &e2e_tests_production_runtime_alias
9188 << : *e2e-executor
@@ -185,6 +182,7 @@ jobs:
185182 - run : ./scripts/assert-changed-files.sh "packages/*|(e2e|integration)-tests/*|.circleci/*|yarn.lock"
186183 - << : *restore_cache
187184 - << : *install_node_modules
185+ - << : *check_lockfile
188186 - << : *persist_cache
189187 - run : yarn bootstrap -- concurrency=2
190188 # Persist the workspace again with all packages already built
@@ -218,14 +216,9 @@ jobs:
218216 - run : yarn typecheck
219217 - run : yarn check-repo-fields
220218
221- unit_tests_node10 :
222- executor : node
223- << : *test_template
224-
225219 unit_tests_node12 :
226220 executor :
227221 name : node
228- image : " 12"
229222 << : *test_template
230223
231224 unit_tests_node14 :
@@ -234,6 +227,12 @@ jobs:
234227 image : " 14"
235228 << : *test_template
236229
230+ integration_tests_gatsby_source_wordpress :
231+ executor : node
232+ steps :
233+ - e2e-test :
234+ test_path : integration-tests/gatsby-source-wordpress
235+
237236 integration_tests_long_term_caching :
238237 executor : node
239238 steps :
@@ -296,7 +295,7 @@ jobs:
296295 test_path : e2e-tests/path-prefix
297296
298297 e2e_tests_pnp :
299- executor : node_10_19
298+ executor : node
300299 steps :
301300 - checkout
302301 - run : ./scripts/assert-changed-files.sh "packages/*|.circleci/*"
@@ -338,14 +337,6 @@ jobs:
338337 e2e_tests_development_runtime :
339338 << : *e2e_tests_development_runtime_alias
340339
341- e2e_tests_development_runtime_fast_refresh :
342- << : *e2e_tests_development_runtime_alias
343- environment :
344- GATSBY_HOT_LOADER : fast-refresh
345- CYPRESS_HOT_LOADER : fast-refresh
346- CYPRESS_PROJECT_ID : 917bea
347- CYPRESS_RECORD_KEY : 4750fb36-4576-4638-a617-d243a381acef
348-
349340 e2e_tests_development_runtime_with_experimental_react :
350341 << : *e2e_tests_development_runtime_alias
351342
@@ -466,11 +457,21 @@ jobs:
466457 shell : powershell.exe
467458 steps :
468459 - checkout
460+ - run :
461+ command : ./scripts/assert-changed-files.sh "packages/*|(e2e|integration)-tests/*|.circleci/*|yarn.lock"
462+ shell : bash.exe
469463 # Restoring cache takes as long as installing node modules, so skipping
470464 # - restore_cache:
471465 # keys:
472466 # - yarn-packages-v2-{{ checksum "yarn.lock" }}
473467 # - yarn-packages-v2-
468+ - run :
469+ name : Install node 12.13
470+ command : |
471+ nvm install 12.13.0
472+ nvm alias default 12.13.0
473+ nvm use 12.13.0
474+ choco install yarn
474475 - run :
475476 name : Set yarn timeout
476477 command : yarn config set network-timeout 300000
@@ -482,9 +483,6 @@ jobs:
482483 # paths:
483484 # - C:\Users\circleci\AppData\Local\Yarn\Cache
484485 # key: yarn-packages-v2-{{ checksum "yarn.lock" }}
485- - run :
486- command : ./scripts/assert-changed-files.sh "packages/*|(e2e|integration)-tests/*|.circleci/*"
487- shell : bash.exe
488486 - run : yarn npm-run-all -s check-versions "lerna-prepare --concurrency=4 --stream"
489487 - run :
490488 name : " Run Tests"
@@ -523,17 +521,6 @@ workflows:
523521 jobs :
524522 - sync_translation_repo
525523
526- weekly-node-14 :
527- triggers :
528- - schedule :
529- cron : " 0 1 * * 6"
530- filters :
531- branches :
532- only :
533- - master
534- jobs :
535- - unit_tests_node14
536-
537524 nightly-react-next :
538525 triggers :
539526 - schedule :
@@ -592,18 +579,20 @@ workflows:
592579 << : *ignore_docs
593580 requires :
594581 - lint
595- - unit_tests_node10 :
582+ - unit_tests_node12 :
596583 << : *ignore_docs
597584 requires :
598585 - lint
599586 - typecheck
600587 - bootstrap
601- - unit_tests_node12 :
588+ - unit_tests_node14 :
602589 << : *ignore_docs
603590 requires :
604591 - lint
605592 - typecheck
606593 - bootstrap
594+ - integration_tests_gatsby_source_wordpress :
595+ << : *e2e-test-workflow
607596 - integration_tests_long_term_caching :
608597 << : *e2e-test-workflow
609598 - integration_tests_cache_resilience :
@@ -633,8 +622,6 @@ workflows:
633622 << : *e2e-test-workflow
634623 - e2e_tests_development_runtime :
635624 << : *e2e-test-workflow
636- - e2e_tests_development_runtime_fast_refresh :
637- << : *e2e-test-workflow
638625 - e2e_tests_production_runtime :
639626 << : *e2e-test-workflow
640627 - themes_e2e_tests_production_runtime :
0 commit comments