mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 20:03:12 +03:00
🔥 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:
parent
c999e48c01
commit
57ff38da8a
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -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
|
||||
|
||||
|
@ -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": {
|
||||
|
Loading…
Reference in New Issue
Block a user