Skip to content

Commit

Permalink
Added support for Node 20
Browse files Browse the repository at this point in the history
ref https://linear.app/tryghost/issue/ENG-765/add-support-for-node-20

- this adds support for Node 20 as it is LTS and meets our support
  criteria
  • Loading branch information
daniellockyer committed Mar 19, 2024
1 parent 0b67abb commit 5566c5b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
--no-prompt \
--url http://cli-testing.ghost.org \
--db mysql \
--dbhost localhost \
--dbhost 127.0.0.1 \
--dbuser root \
--dbpass ${{ matrix.password }} \
--dbname ghost-mysql
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ 18.x ]
node: [ 18.x, 20.x ]
env:
FORCE_COLOR: 1
name: Node ${{ matrix.node }}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
]
},
"engines": {
"node": "^12.22.1 || ^14.17.0 || ^16.13.0 || ^18.0.0"
"node": "^12.22.1 || ^14.17.0 || ^16.13.0 || ^18.0.0 || ^20.11.1"
},
"preferGlobal": true,
"dependencies": {
Expand Down

0 comments on commit 5566c5b

Please sign in to comment.