Skip to content

Commit

Permalink
Added support for Node 20
Browse files Browse the repository at this point in the history
ref https://linear.app/tryghost/issue/ENG-765/add-support-for-node-20

- this adds support for Node 20 as it is LTS and meets our support
  criteria
  • Loading branch information
daniellockyer committed Mar 19, 2024
1 parent ff577b6 commit dff44fd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e-test.yml
Expand Up @@ -14,7 +14,7 @@ jobs:
matrix:
os: [ubuntu-20.04]
password: [root]
node: [16.x]
node: [18.x]
steps:
- name: Start nginx
run: sudo service nginx start
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/local-e2e-test.yml
Expand Up @@ -13,7 +13,7 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node: ['16.x']
node: ['18.x']
steps:
- uses: actions/checkout@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-test.yml
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ 14.x, 16.x, 18.x ]
node: [ 14.x, 16.x, 18.x, 20.x ]
env:
FORCE_COLOR: 1
name: Node ${{ matrix.node }}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -39,7 +39,7 @@
]
},
"engines": {
"node": "^12.22.1 || ^14.17.0 || ^16.13.0 || ^18.0.0"
"node": "^12.22.1 || ^14.17.0 || ^16.13.0 || ^18.0.0 || ^20.11.1"
},
"preferGlobal": true,
"dependencies": {
Expand Down

0 comments on commit dff44fd

Please sign in to comment.