Skip to content

Commit 6ae591b

Browse files
author
Fletcher91
committed
Swap node 10 for 14
1 parent deceb0f commit 6ae591b

File tree

1 file changed

+22
-20
lines changed

1 file changed

+22
-20
lines changed

.circleci/config.yml

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -19,75 +19,77 @@ jobs:
1919
paths:
2020
- cc-test-reporter
2121

22-
build-node-13:
22+
build-node-14:
2323
<<: *defaults
2424
docker:
25-
- image: circleci/node:13
25+
- image: circleci/node:14
2626
steps:
2727
- checkout
2828
- attach_workspace:
2929
at: ~/link-lib/tmp
3030
- restore_cache:
3131
keys:
32-
- v1-dependencies-13-{{ checksum "package.json" }}
32+
- v1-dependencies-14-{{ checksum "package.json" }}
3333
# fallback to using the latest cache if no exact match is found
34-
- v1-dependencies-13-
34+
- v1-dependencies-14-
3535

3636
- run: yarn install
3737

3838
- save_cache:
3939
paths:
4040
- node_modules
41-
key: v1-dependencies-13-{{ checksum "package.json" }}
41+
key: v1-dependencies-14-{{ checksum "package.json" }}
4242
- run: yarn lint
4343
- run: yarn test -w 1
44-
- run: ./tmp/cc-test-reporter format-coverage -t lcov -o ~/link-lib/tmp/codeclimate.node-13.json coverage/lcov.info
44+
- run: ./tmp/cc-test-reporter format-coverage -t lcov -o ~/link-lib/tmp/codeclimate.node-14.json coverage/lcov.info
4545
- run: yarn build
4646
- persist_to_workspace:
4747
root: tmp
4848
paths:
49-
- codeclimate.node-13.json
49+
- codeclimate.node-14.json
5050

51-
build-node-12:
51+
build-node-13:
5252
<<: *defaults
5353
docker:
54-
- image: circleci/node:12
54+
- image: circleci/node:13
5555
steps:
5656
- checkout
57+
- attach_workspace:
58+
at: ~/link-lib/tmp
5759
- restore_cache:
5860
keys:
59-
- v1-dependencies-12-{{ checksum "package.json" }}
61+
- v1-dependencies-13-{{ checksum "package.json" }}
6062
# fallback to using the latest cache if no exact match is found
61-
- v1-dependencies-12-
63+
- v1-dependencies-13-
6264

6365
- run: yarn install
6466

6567
- save_cache:
6668
paths:
6769
- node_modules
68-
key: v1-dependencies-12-{{ checksum "package.json" }}
70+
key: v1-dependencies-13-{{ checksum "package.json" }}
6971
- run: yarn lint
7072
- run: yarn test -w 1
7173
- run: yarn build
7274

73-
build-node-10:
75+
build-node-12:
7476
<<: *defaults
7577
docker:
76-
- image: circleci/node:10
78+
- image: circleci/node:12
7779
steps:
7880
- checkout
7981
- restore_cache:
8082
keys:
81-
- v1-dependencies-10-{{ checksum "package.json" }}
83+
- v1-dependencies-12-{{ checksum "package.json" }}
8284
# fallback to using the latest cache if no exact match is found
83-
- v1-dependencies-10-
85+
- v1-dependencies-12-
8486

8587
- run: yarn install
8688

8789
- save_cache:
8890
paths:
8991
- node_modules
90-
key: v1-dependencies-10-{{ checksum "package.json" }}
92+
key: v1-dependencies-12-{{ checksum "package.json" }}
9193
- run: yarn lint
9294
- run: yarn test -w 1
9395
- run: yarn build
@@ -110,11 +112,11 @@ workflows:
110112
commit:
111113
jobs:
112114
- build
113-
- build-node-13:
115+
- build-node-14:
114116
requires:
115117
- build
118+
- build-node-13
116119
- build-node-12
117-
- build-node-10
118120
- upload-coverage:
119121
requires:
120-
- build-node-13
122+
- build-node-14

0 commit comments

Comments
 (0)