Skip to content

Commit

Permalink
Merge pull request #129 from Financial-Times/upgrade-to-node-12
Browse files Browse the repository at this point in the history
Upgrade to Node v12
  • Loading branch information
andygout authored Oct 2, 2020
2 parents 17ff69b + c0b4241 commit 20595a8
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_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

workspace_root: &workspace_root
~/project
Expand Down Expand Up @@ -67,7 +67,7 @@ commands:
jobs:

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

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

publish:
<<: *container_config_node8
<<: *container_config_node12
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 @@ -14,7 +14,7 @@
"prepare": "npx snyk protect || npx snyk protect -d || true"
},
"engines": {
"node": "^4.0.0"
"node": "12.x"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 20595a8

Please sign in to comment.