mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 04:13:30 +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/'))
|
if: github.event_name == 'push' || (github.event_name == 'pull_request' && !startsWith(github.head_ref, 'renovate/'))
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node: [ '10.13.0', '12.10.0', '14.15.0' ]
|
node: [ '12.10.0', '14.15.0' ]
|
||||||
env:
|
env:
|
||||||
- DB: sqlite3
|
- DB: sqlite3
|
||||||
NODE_ENV: testing
|
NODE_ENV: testing
|
||||||
@ -130,7 +130,7 @@ jobs:
|
|||||||
submodules: true
|
submodules: true
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: '10.13.0'
|
node-version: '12.10.0'
|
||||||
- run: npm install -g ghost-cli@latest
|
- 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
|
- 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 ../../"
|
"fixmodulenotdefined": "yarn cache clean && cd core/client && rm -rf node_modules tmp dist && yarn && cd ../../"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^10.13.0 || ^12.10.0 || ^14.15.0",
|
"node": "^12.10.0 || ^14.15.0",
|
||||||
"cli": "^1.16.0"
|
"cli": "^1.16.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
Loading…
Reference in New Issue
Block a user