Skip to content

Commit

Permalink
Merge pull request #52 from Financial-Times/upgrade-node-version-to-v12
Browse files Browse the repository at this point in the history
Upgrade Node version -> v12
  • Loading branch information
andygout authored Jun 17, 2020
2 parents b1ee184 + a427eb7 commit 4bf71aa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@

references:

container_config_node8: &container_config_node8
container_config_node12: &container_config_node12
working_directory: ~/project/build
docker:
- image: circleci/node:8-browsers
- image: circleci/node:12-browsers

container_config_lambda_node8: &container_config_lambda_node8
container_config_lambda_node12: &container_config_lambda_node12
working_directory: ~/project/build
docker:
- image: lambci/lambda:build-nodejs8.10
- image: lambci/lambda:build-nodejs12.x

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

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

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

publish:
<<: *container_config_node8
<<: *container_config_node12
steps:
- *attach_workspace
- run:
Expand Down
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": "^6"
"node": "12.x"
},
"scripts": {
"precommit": "node_modules/.bin/secret-squirrel",
Expand Down

0 comments on commit 4bf71aa

Please sign in to comment.