Skip to content

Commit

Permalink
Merge pull request #542 from Financial-Times/node-20
Browse files Browse the repository at this point in the history
Add support for Node.js 20
  • Loading branch information
rowanmanning authored Jan 17, 2024
2 parents 1956492 + bb8b7b1 commit 3dd3bf5
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 6 deletions.
9 changes: 9 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ orbs:
tool-kit: financial-times/dotcom-tool-kit@4
executors:
node:
docker:
- image: cimg/node:20.11
node18_19:
docker:
- image: cimg/node:18.19
node16_20:
Expand Down Expand Up @@ -43,6 +46,7 @@ workflows:
parameters:
executor:
- node
- node18_19
- node16_20
filters:
tags:
Expand All @@ -55,6 +59,7 @@ workflows:
parameters:
executor:
- node
- node18_19
- node16_20
filters:
tags:
Expand All @@ -67,6 +72,7 @@ workflows:
parameters:
executor:
- node
- node18_19
- node16_20
filters:
tags:
Expand Down Expand Up @@ -101,6 +107,7 @@ workflows:
parameters:
executor:
- node
- node18_19
- node16_20
- tool-kit/build:
name: tool-kit/build-<< matrix.executor >>
Expand All @@ -110,6 +117,7 @@ workflows:
parameters:
executor:
- node
- node18_19
- node16_20
- tool-kit/test:
name: tool-kit/test-<< matrix.executor >>
Expand All @@ -119,4 +127,5 @@ workflows:
parameters:
executor:
- node
- node18_19
- node16_20
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16
20
1 change: 1 addition & 0 deletions .toolkitrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ hooks:
options:
'@dotcom-tool-kit/circleci':
nodeVersion:
- '20.11'
- '18.19'
- '16.20'
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
"supertest": "^6.3.3"
},
"engines": {
"node": "16.x || 18.x",
"npm": "7.x || 8.x || 9.x"
"node": "16.x || 18.x || 20.x",
"npm": "7.x || 8.x || 9.x || 10.x"
},
"scripts": {
"prepare": "npx snyk protect || npx snyk protect -d || true",
Expand All @@ -45,6 +45,6 @@
}
},
"volta": {
"node": "18.16.0"
"node": "20.11.0"
}
}

0 comments on commit 3dd3bf5

Please sign in to comment.