0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-04 02:01:58 -05:00

🔥 Dropped support for Node 12

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

- Node 12 becomes EOL on April 30th so we're going to be dropping
  support for it in Ghost
- this commit updates the Node engine ranges so CLI can pick this up,
  and drops 12.22.1 from the CI matrix
This commit is contained in:
Daniel Lockyer 2022-04-19 15:53:44 +01:00
parent 6d5a8c6b31
commit 3171df4102
No known key found for this signature in database
GPG key ID: D21186F0B47295AD
2 changed files with 3 additions and 3 deletions

View file

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

View file

@ -51,7 +51,7 @@
"fix": "yarn fix:client && yarn fix:server"
},
"engines": {
"node": "^12.22.1 || ^14.17.0 || ^16.13.0",
"node": "^14.17.0 || ^16.13.0",
"cli": "^1.17.0"
},
"dependencies": {