Skip to content

Commit

Permalink
Add support for Node.js 22
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanmanning committed Jul 3, 2024
1 parent 66712d9 commit 5d1daac
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 13 deletions.
27 changes: 18 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,13 @@ orbs:
executors:
node:
docker:
- image: cimg/node:20.11
node18_19:
- image: cimg/node:22.3
node20_15:
docker:
- image: cimg/node:18.19
- image: cimg/node:20.15
node18_20:
docker:
- image: cimg/node:18.20
jobs:
checkout:
docker:
Expand Down Expand Up @@ -43,7 +46,8 @@ workflows:
parameters:
executor:
- node
- node18_19
- node20_15
- node18_20
filters:
tags:
only: /^v\d+\.\d+\.\d+(-.+)?/
Expand All @@ -55,7 +59,8 @@ workflows:
parameters:
executor:
- node
- node18_19
- node20_15
- node18_20
filters:
tags:
only: /^v\d+\.\d+\.\d+(-.+)?/
Expand All @@ -67,7 +72,8 @@ workflows:
parameters:
executor:
- node
- node18_19
- node20_15
- node18_20
filters:
tags:
only: /^v\d+\.\d+\.\d+(-.+)?/
Expand Down Expand Up @@ -101,7 +107,8 @@ workflows:
parameters:
executor:
- node
- node18_19
- node20_15
- node18_20
- tool-kit/build:
name: tool-kit/build-<< matrix.executor >>
requires:
Expand All @@ -110,7 +117,8 @@ workflows:
parameters:
executor:
- node
- node18_19
- node20_15
- node18_20
- tool-kit/test:
name: tool-kit/test-<< matrix.executor >>
requires:
Expand All @@ -119,4 +127,5 @@ workflows:
parameters:
executor:
- node
- node18_19
- node20_15
- node18_20
5 changes: 3 additions & 2 deletions .toolkitrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ hooks:
options:
'@dotcom-tool-kit/circleci':
nodeVersion:
- '20.11'
- '18.19'
- '22.3'
- '20.15'
- '18.20'
2 changes: 1 addition & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"format": "dotcom-tool-kit format:local"
},
"engines": {
"node": "18.x || 20.x",
"node": "18.x || 20.x || 22.x",
"npm": "8.x || 9.x || 10.x"
},
"repository": {
Expand Down

0 comments on commit 5d1daac

Please sign in to comment.