Skip to content

Commit

Permalink
Merge pull request #54 from Financial-Times/upgrade-to-node-v12
Browse files Browse the repository at this point in the history
Upgrade to Node v12
  • Loading branch information
andygout authored Feb 19, 2021
2 parents dbfee7e + 7473ca8 commit a87196a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
15 changes: 5 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,10 @@

references:

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

container_config_lambda_node8: &container_config_lambda_node8
working_directory: ~/project/build
docker:
- image: lambci/lambda:build-nodejs8.10
- image: circleci/node:12

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

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

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

publish:
<<: *container_config_node8
<<: *container_config_node
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 @@
12
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"snyk": "^1.167.2"
},
"engines": {
"node": ">=6.0.0"
"node": "12.x"
},
"scripts": {
"prepare": "npx snyk protect || npx snyk protect -d || true"
Expand Down

0 comments on commit a87196a

Please sign in to comment.