@@ -8,14 +8,14 @@ executors:
8
8
image :
9
9
type : string
10
10
# First 10.x LTS release, but old Yarn
11
- default : " 12.13 .0"
11
+ default : " 14.17 .0"
12
12
docker :
13
13
- image : cimg/node:<< parameters.image >>
14
14
15
15
aliases :
16
16
e2e-executor : &e2e-executor
17
17
docker :
18
- - image : cypress/browsers:node12.18.3-chrome87 -ff82
18
+ - image : cypress/browsers:node14.15.0-chrome86 -ff82
19
19
20
20
restore_cache : &restore_cache
21
21
restore_cache :
@@ -102,7 +102,7 @@ aliases:
102
102
requires :
103
103
- lint
104
104
- typecheck
105
- - unit_tests_node12
105
+ - unit_tests_node14
106
106
107
107
e2e_tests_production_runtime_alias : &e2e_tests_production_runtime_alias
108
108
<< : *e2e-executor
@@ -188,7 +188,7 @@ jobs:
188
188
- checkout
189
189
- run : ./scripts/assert-changed-files.sh "packages/*|(e2e|integration)-tests/*|.circleci/*|scripts/e2e-test.sh|yarn.lock"
190
190
# python 2 is not built in and node-gyp needs it to build lmdb
191
- - run : apt-get update && apt-get install python -y
191
+ - run : sudo apt-get update && sudo apt-get install python -y
192
192
- << : *restore_cache
193
193
- << : *install_node_modules
194
194
- << : *check_lockfile
@@ -227,11 +227,6 @@ jobs:
227
227
- run : yarn typecheck
228
228
- run : yarn check-repo-fields
229
229
230
- unit_tests_node12 :
231
- executor :
232
- name : node
233
- << : *test_template
234
-
235
230
unit_tests_node14 :
236
231
executor :
237
232
name : node
@@ -255,9 +250,9 @@ jobs:
255
250
command : |
256
251
echo 'export NVM_DIR="/opt/circleci/.nvm"' >> $BASH_ENV
257
252
echo ' [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' >> $BASH_ENV
258
- - run : nvm install v12
259
- - run : nvm alias default v12
260
- - run : nvm use v12
253
+ - run : nvm install v14
254
+ - run : nvm alias default v14
255
+ - run : nvm use v14
261
256
262
257
- e2e-test :
263
258
test_path : integration-tests/gatsby-source-wordpress
@@ -477,7 +472,7 @@ jobs:
477
472
steps :
478
473
- checkout
479
474
# jq is helpful for parsing json & python required for node-gyp to build lmdb
480
- - run : apt-get update && apt-get install jq python -y
475
+ - run : sudo apt-get update && sudo apt-get install jq python -y
481
476
- << : *restore_cache
482
477
- << : *install_node_modules
483
478
- run : yarn markdown
@@ -489,7 +484,7 @@ jobs:
489
484
executor : node
490
485
steps :
491
486
- checkout
492
- - run : apt-get update && apt-get install jq python -y
487
+ - run : sudo apt-get update && sudo apt-get install jq python -y
493
488
- << : *restore_cache
494
489
- << : *install_node_modules
495
490
- run : git config --global user.name "GatsbyJS Bot"
@@ -540,11 +535,11 @@ jobs:
540
535
541
536
- << : *attach_to_bootstrap
542
537
- run :
543
- name : Install node 12.13 and yarn
538
+ name : Install node 14.17 and yarn
544
539
command : |
545
- nvm install 12.13 .0
546
- nvm alias default 12.13 .0
547
- nvm use 12.13 .0
540
+ nvm install 14.17 .0
541
+ nvm alias default 14.17 .0
542
+ nvm use 14.17 .0
548
543
choco install yarn
549
544
- run :
550
545
name : Rebuild packages for windows
@@ -571,7 +566,7 @@ jobs:
571
566
steps :
572
567
- checkout
573
568
# python 2 is not built in and node-gyp needs it to build lmdb
574
- - run : apt-get update && apt-get install python -y
569
+ - run : sudo apt-get update && sudo apt-get install python -y
575
570
- run :
576
571
name : " Update React to prerelease"
577
572
command : " REACT_CHANNEL=<< parameters.version >> node ./scripts/upgrade-react"
@@ -664,12 +659,6 @@ workflows:
664
659
requires :
665
660
- lint
666
661
- bootstrap
667
- - unit_tests_node12 :
668
- << : *ignore_docs
669
- requires :
670
- - lint
671
- - typecheck
672
- - bootstrap
673
662
- unit_tests_node14 :
674
663
<< : *ignore_docs
675
664
requires :
0 commit comments