fix(deps): bump minimum node version to v20

With node 18 the tests always crash.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
Tilman Vatteroth 2024-01-17 13:08:08 +01:00 committed by David Mehren
parent f80dd7f0e7
commit 01d7eb9529
2 changed files with 3 additions and 3 deletions

View file

@ -25,7 +25,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '18', '20' ] # Are you changing this? Don't forget to update the min. and recommended node version in getting-started.md!
node: [ '20' ] # Are you changing this? Don't forget to update the min. and recommended node version in docs/content/how-to/develop/setup.md!
include:
- node: '20'
coverage: true

View file

@ -25,7 +25,7 @@ and the provided configuration.
```
<!-- markdownlint-enable proper-names -->
2. Install Node.js. You need at least Node 16, but we recommend Node 20.
2. Install Node.js. You need at least Node 20.
3. Install [Yarn][yarn]
4. Install Caddy (select one of the two options)
- [Download][caddy] and place the `caddy` binary in `dev-reverse-proxy`.
@ -48,7 +48,7 @@ The following sections describe a more detailed setup of all components.
If you want to run HedgeDoc in dev mode some preconditions have to be met.
1. Make sure that Node.js is installed. You need at least Node 16, but we recommend Node 18.
1. Make sure that Node.js is installed. You need at least Node 20.
2. Make sure that [Yarn][yarn] is installed.
<!-- markdownlint-disable proper-names -->
3. Clone this repo (e.g. `git clone https://github.com/hedgedoc/hedgedoc.git hedgedoc`)