Skip to content

Commit

Permalink
Merge pull request #58 from Financial-Times/upgrade-node-to-v14
Browse files Browse the repository at this point in the history
Upgrade Node to v14
  • Loading branch information
andygout authored Sep 28, 2020
2 parents 5451d7c + cde8312 commit 035a0d4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@

references:

container_config_node12: &container_config_node12
container_config_node14: &container_config_node14
working_directory: ~/project/build
docker:
- image: circleci/node:12-browsers
- image: circleci/node:14-browsers

workspace_root: &workspace_root
~/project
Expand Down Expand Up @@ -55,7 +55,7 @@ version: 2
jobs:

build:
<<: *container_config_node12
<<: *container_config_node14
steps:
- checkout
- run:
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
- build

test:
<<: *container_config_node12
<<: *container_config_node14
steps:
- *attach_workspace
- run:
Expand All @@ -101,7 +101,7 @@ jobs:
destination: test-results

publish:
<<: *container_config_node12
<<: *container_config_node14
steps:
- *attach_workspace
- run:
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
14.11
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"webpack": "^2.2.1"
},
"engines": {
"node": "12.x"
"node": "14.x"
},
"scripts": {
"prepare": "npx snyk protect || npx snyk protect -d || true"
Expand Down

0 comments on commit 035a0d4

Please sign in to comment.