🔥 Dropped support for Node 10

refs https://github.com/TryGhost/Team/issues/658

- Node 10 become EOL as of April 30th so it's time to drop support
- this commit:
  - removes the Node 10 range from the `node` `engines` block
  - removes Node 10 from CI tests
  - switches Node 10 in the CLI test to Node 12 so we can ensure it
    installs on our oldest supported Node version
This commit is contained in:
Daniel Lockyer 2021-05-05 14:32:32 +01:00
parent c999e48c01
commit 57ff38da8a
No known key found for this signature in database
GPG Key ID: FFBC6FA2A6F6ABC1
2 changed files with 3 additions and 3 deletions

View File

@ -75,7 +75,7 @@ jobs:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && !startsWith(github.head_ref, 'renovate/'))
strategy:
matrix:
node: [ '10.13.0', '12.10.0', '14.15.0' ]
node: [ '12.10.0', '14.15.0' ]
env:
- DB: sqlite3
NODE_ENV: testing
@ -130,7 +130,7 @@ jobs:
submodules: true
- uses: actions/setup-node@v2
with:
node-version: '10.13.0'
node-version: '12.10.0'
- run: npm install -g ghost-cli@latest
- run: npm --no-git-tag-version version minor # We need to artificially bump the minor version to get migrations to run

View File

@ -36,7 +36,7 @@
"fixmodulenotdefined": "yarn cache clean && cd core/client && rm -rf node_modules tmp dist && yarn && cd ../../"
},
"engines": {
"node": "^10.13.0 || ^12.10.0 || ^14.15.0",
"node": "^12.10.0 || ^14.15.0",
"cli": "^1.16.0"
},
"dependencies": {