0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-08 02:52:39 -05:00

⬆️ Bumped minimum Node version to 12.22.1 and 14.16.1

refs https://nodejs.org/en/blog/vulnerability/april-2021-security-releases/

- these are the latest security releases and we should encourage people
  to upgrade to them
- also replaces Node 12 in the tests with Node 14 as this is soon our
  recommended version
This commit is contained in:
Daniel Lockyer 2021-05-07 14:14:46 +01:00
parent e9687d359d
commit 4385070881
No known key found for this signature in database
GPG key ID: FFBC6FA2A6F6ABC1
2 changed files with 6 additions and 6 deletions

View file

@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '12.10.0'
node-version: '14.16.1'
- run: yarn
- run: yarn lint
- uses: daniellockyer/action-slack-build@master
@ -49,7 +49,7 @@ jobs:
submodules: true
- uses: actions/setup-node@v2
with:
node-version: '12.10.0'
node-version: '14.16.1'
- name: Shutdown MySQL
run: sudo service mysql stop
@ -75,7 +75,7 @@ jobs:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && !startsWith(github.head_ref, 'renovate/'))
strategy:
matrix:
node: [ '12.10.0', '14.15.0' ]
node: [ '12.22.1', '14.16.1' ]
env:
- DB: sqlite3
NODE_ENV: testing
@ -130,7 +130,7 @@ jobs:
submodules: true
- uses: actions/setup-node@v2
with:
node-version: '12.10.0'
node-version: '12.22.1'
- 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
@ -184,7 +184,7 @@ jobs:
submodules: true
- uses: actions/setup-node@v2
with:
node-version: '12.18.0'
node-version: '14.16.1'
- name: Set up Git
run: |

View file

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