0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

ℹ️ Added support for Node 18

refs https://github.com/TryGhost/Toolbox/issues/488

- Node 18 is now LTS so we're adding support for it
- this adds Node 18.12.1 (the latest security release) to our supported
  ranges and CI
This commit is contained in:
Daniel Lockyer 2023-01-04 10:45:48 +01:00 committed by Daniel Lockyer
parent aa08fc72e7
commit 1af31bab1a
3 changed files with 4 additions and 4 deletions

View file

@ -143,7 +143,7 @@ jobs:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && !startsWith(github.head_ref, 'renovate/'))
strategy:
matrix:
node: [ '14.18.0', '16.13.0' ]
node: [ '14.18.0', '16.13.0', '18.12.1' ]
name: Unit Tests (Node ${{ matrix.node }})
steps:
- uses: actions/checkout@v3
@ -178,7 +178,7 @@ jobs:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && !startsWith(github.head_ref, 'renovate/'))
strategy:
matrix:
node: [ '14.18.0', '16.13.0' ]
node: [ '14.18.0', '16.13.0', '18.12.1' ]
env:
- DB: sqlite3
NODE_ENV: testing

View file

@ -26,7 +26,7 @@
"lint": "yarn lint:js && yarn lint:hbs"
},
"engines": {
"node": "^14.18.0 || ^16.13.0 || ^18.0.0"
"node": "^14.18.0 || ^16.13.0 || ^18.12.1"
},
"devDependencies": {
"@babel/eslint-parser": "7.19.1",

View file

@ -52,7 +52,7 @@
"prepack": "yarn workspace ghost-admin run build:prod && yarn build:css && npx --yes daniellockyer/monobundle"
},
"engines": {
"node": "^14.18.0 || ^16.13.0 || ^18.0.0",
"node": "^14.18.0 || ^16.13.0 || ^18.12.1",
"cli": "^1.17.0"
},
"dependencies": {