Added support for Node 16

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

- Node 16 is now LTS so we're picking up support for it
- we're also bumping the minimum Node 14 version to 14.17.0 so it
  unblocks merging dependencies
- Admin needs the Node engine range and CI updating
- CI has been updated to the minimum Node 14 range as that is our
  recommended version
This commit is contained in:
Daniel Lockyer 2021-10-27 10:37:17 +01:00
parent d3e347ab53
commit 613ebf88f5
2 changed files with 4 additions and 4 deletions

View File

@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/setup-node@v2 - uses: actions/setup-node@v2
with: with:
node-version: '14.16.1' node-version: '14.17.0'
- run: yarn - run: yarn
- run: grunt shell:ember:prod - run: grunt shell:ember:prod
@ -34,7 +34,7 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/setup-node@v2 - uses: actions/setup-node@v2
with: with:
node-version: '14.16.1' node-version: '14.17.0'
- run: yarn - run: yarn
- run: yarn lint:js - run: yarn lint:js
@ -61,7 +61,7 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/setup-node@v2 - uses: actions/setup-node@v2
with: with:
node-version: '14.16.1' node-version: '14.17.0'
- run: yarn - run: yarn
- run: yarn test - run: yarn test

View File

@ -22,7 +22,7 @@
"lint:js": "eslint ." "lint:js": "eslint ."
}, },
"engines": { "engines": {
"node": "^12.22.1 || ^14.16.1" "node": "^12.22.1 || ^14.17.0 || ^16.13.0"
}, },
"devDependencies": { "devDependencies": {
"@ember/jquery": "2.0.0", "@ember/jquery": "2.0.0",