Skip to content

Commit daf559f

Browse files
author
Fletcher91
committed
Swap node 10 for 14
1 parent 3ec4bee commit daf559f

File tree

1 file changed

+27
-20
lines changed

1 file changed

+27
-20
lines changed

.circleci/config.yml

Lines changed: 27 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -19,75 +19,82 @@ 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
73+
- run: ./tmp/cc-test-reporter format-coverage -t lcov -o ~/link-lib/tmp/codeclimate.node-13.json coverage/lcov.info
7174
- run: yarn build
75+
- persist_to_workspace:
76+
root: tmp
77+
paths:
78+
- codeclimate.node-13.json
7279

73-
build-node-10:
80+
build-node-12:
7481
<<: *defaults
7582
docker:
76-
- image: circleci/node:10
83+
- image: circleci/node:12
7784
steps:
7885
- checkout
7986
- restore_cache:
8087
keys:
81-
- v1-dependencies-10-{{ checksum "package.json" }}
88+
- v1-dependencies-12-{{ checksum "package.json" }}
8289
# fallback to using the latest cache if no exact match is found
83-
- v1-dependencies-10-
90+
- v1-dependencies-12-
8491

8592
- run: yarn install
8693

8794
- save_cache:
8895
paths:
8996
- node_modules
90-
key: v1-dependencies-10-{{ checksum "package.json" }}
97+
key: v1-dependencies-12-{{ checksum "package.json" }}
9198
- run: yarn lint
9299
- run: yarn test -w 1
93100
- run: yarn build
@@ -110,11 +117,11 @@ workflows:
110117
commit:
111118
jobs:
112119
- build
113-
- build-node-13:
120+
- build-node-14:
114121
requires:
115122
- build
123+
- build-node-13
116124
- build-node-12
117-
- build-node-10
118125
- upload-coverage:
119126
requires:
120-
- build-node-13
127+
- build-node-14

0 commit comments

Comments
 (0)