Skip to content

Commit 1844fed

Browse files
committed
bump: Update node versions
1 parent ae91dce commit 1844fed

File tree

2 files changed

+9
-22
lines changed

2 files changed

+9
-22
lines changed

.circleci/config.yml

Lines changed: 8 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,12 @@ jobs:
4646
yarn -v
4747
- run:
4848
name: Install dependencies
49-
command: yarn
49+
command: yarn install --ignore-engines
5050
- save_cache:
5151
key: yarn-cache-{{ checksum "yarn.lock" }}
5252
paths:
5353
- /usr/local/share/.cache/yarn
54-
- run: yarn run validate
55-
- store_artifacts:
56-
path: coverage
57-
- store_test_results:
58-
path: coverage
54+
- run: yarn run build:templates && yarn run build
5955

6056
build-latest: &latest-build
6157
docker:
@@ -90,11 +86,6 @@ jobs:
9086
- '*'
9187

9288
build-node-10:
93-
<<: *common-build
94-
docker:
95-
- image: node:10
96-
97-
build-node-11:
9889
<<: *common-build
9990
docker:
10091
- image: node:11
@@ -104,14 +95,14 @@ jobs:
10495
docker:
10596
- image: node:12
10697

107-
build-node-13:
98+
build-node-14:
10899
<<: *latest-build
109100
docker:
110-
- image: node:13
101+
- image: node:14
111102

112103
tag_version:
113104
docker:
114-
- image: node:13
105+
- image: node:14
115106
working_directory: ~/workdir
116107
steps:
117108
- attach_workspace:
@@ -129,7 +120,7 @@ jobs:
129120
130121
publish_library:
131122
docker:
132-
- image: node:13
123+
- image: node:14
133124
working_directory: ~/workdir
134125
steps:
135126
- attach_workspace:
@@ -203,22 +194,18 @@ workflows:
203194
- build-node-10:
204195
requires:
205196
- checkout-and-version
206-
- build-node-11:
207-
requires:
208-
- checkout-and-version
209197
- build-node-12:
210198
requires:
211199
- checkout-and-version
212-
- build-node-13:
200+
- build-node-14:
213201
requires:
214202
- checkout-and-version
215203
- publish_approval:
216204
type: approval
217205
requires:
218206
- build-node-10
219-
- build-node-11
220207
- build-node-12
221-
- build-node-13
208+
- build-node-14
222209
- tag_version:
223210
requires:
224211
- publish_approval

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"url": "https://www.github.com/rtfpessoa/diff2html/issues"
3333
},
3434
"engines": {
35-
"node": ">=10.13"
35+
"node": ">=10"
3636
},
3737
"scripts": {
3838
"eslint": "eslint --ignore-path .gitignore \"**/*.{js,jsx,ts,tsx,json}\"",

0 commit comments

Comments
 (0)