mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 11:54:33 +03:00
ℹ️ Added support for Node 20
ref https://linear.app/tryghost/issue/ENG-765/add-support-for-node-20 - this adds support for Node 20 to Ghost and CI, as Node 20 is an LTS version and we should pick it up
This commit is contained in:
parent
8e0ad1a6fb
commit
10e81aeed8
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -417,7 +417,7 @@ jobs:
|
|||||||
if: needs.job_get_metadata.outputs.changed_any_code == 'true'
|
if: needs.job_get_metadata.outputs.changed_any_code == 'true'
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node: [ '18.12.1' ]
|
node: [ '18.12.1', '20.11.1' ]
|
||||||
name: Unit tests (Node ${{ matrix.node }})
|
name: Unit tests (Node ${{ matrix.node }})
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@ -455,7 +455,7 @@ jobs:
|
|||||||
if: needs.job_get_metadata.outputs.changed_core == 'true'
|
if: needs.job_get_metadata.outputs.changed_core == 'true'
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node: [ '18.12.1' ]
|
node: [ '18.12.1', '20.11.1' ]
|
||||||
env:
|
env:
|
||||||
- DB: mysql8
|
- DB: mysql8
|
||||||
NODE_ENV: testing-mysql
|
NODE_ENV: testing-mysql
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
"lint": "yarn lint:js && yarn lint:hbs"
|
"lint": "yarn lint:js && yarn lint:hbs"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^18.12.1"
|
"node": "^18.12.1 || ^20.11.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/eslint-parser": "7.23.3",
|
"@babel/eslint-parser": "7.23.3",
|
||||||
|
@ -53,8 +53,8 @@
|
|||||||
"prepack": "node monobundle.js"
|
"prepack": "node monobundle.js"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^18.12.1",
|
"node": "^18.12.1 || ^20.11.1",
|
||||||
"cli": "^1.25.0"
|
"cli": "^1.26.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@extractus/oembed-extractor": "3.2.1",
|
"@extractus/oembed-extractor": "3.2.1",
|
||||||
|
Loading…
Reference in New Issue
Block a user