From 54561feda95c36c81209953fab1489f826d56514 Mon Sep 17 00:00:00 2001
From: Antoine Lambert <anlambert@softwareheritage.org>
Date: Wed, 22 Jan 2025 11:03:30 +0100
Subject: [PATCH] developer-setup: Bump minimal required nodejs version to 20

nodejs 18 is close to EOL and some swh-web dependencies bump minimal
required nodejs version to 20 so time to upgrade.
---
 docs/devel/developer-setup.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/devel/developer-setup.rst b/docs/devel/developer-setup.rst
index 632717c..8fc2f6b 100644
--- a/docs/devel/developer-setup.rst
+++ b/docs/devel/developer-setup.rst
@@ -101,7 +101,7 @@ don't need them started globally (this will save you some RAM):
 
   sudo systemctl disable --now cassandra postgresql
 
-You must also have ``nodejs >= 18`` in your development environment.
+You must also have ``nodejs >= 20`` in your development environment.
 You can install node 18 using these commands:
 
 .. tab-set::
@@ -110,7 +110,7 @@ You can install node 18 using these commands:
 
     .. code-block:: console
 
-      curl -fsSL https://deb.nodesource.com/setup_18.x | sudo bash -
+      curl -fsSL https://deb.nodesource.com/setup_20.x | sudo bash -
       sudo apt install -y nodejs
 
   .. tab-item:: Fedora
-- 
GitLab