From a8f352a93158566d54802c929b6c747a07da22f6 Mon Sep 17 00:00:00 2001
From: Jean-Francois HOVINNE <jean-francois.hovinne@ext.ec.europa.eu>
Date: Wed, 8 Jan 2025 14:16:47 +0000
Subject: [PATCH] feat: Set Node.js 22.x as default, update readme (fixes #6)

---
 .gitlab-ci.yml | 2 +-
 README.md      | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index fdc8ddb..cbf3f21 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -8,7 +8,7 @@ build nodejs:
       - master
   script:
     - ./init-environment
-    - NODE_MAJOR_VERSION="${NODE_MAJOR_VERSION:=20}"
+    - NODE_MAJOR_VERSION="${NODE_MAJOR_VERSION:=22}"
     - NODE_VERSION=$(python3 get-nodejs-latest.py ${NODE_MAJOR_VERSION})
     - ./build-nodejs-version ${NODE_VERSION} 1> /dev/null
     - curl -sL -o /opt/nodejs/${NODE_VERSION}/LICENSE https://raw.githubusercontent.com/nodejs/node/main/LICENSE
diff --git a/README.md b/README.md
index 03256b9..1f8b4cc 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
 amazonlinux2-nodejs
 ===================
 
-A GitLab pipeline to build [Node.js](https://nodejs.org/) 18.x, 20.x and 22.x for Amazon Linux 2.
+A GitLab pipeline to build [Node.js](https://nodejs.org/) 18.x, 20.x, 22.x and 23.x for Amazon Linux 2.
 
 Rationale
 ---------
@@ -24,7 +24,7 @@ The pipeline launches an `amazonlinux:2` container and:
 Downloads
 ---------
 
-Node.js 18.x, 20.x and 22.x builds for Amazon Linux 2 can be downloaded from the
+Node.js 18.x, 20.x, 22.x and 23.x builds for Amazon Linux 2 can be downloaded from the
 [Package Registry](https://code.europa.eu/ecgalaxy/amazonlinux2-nodejs/-/packages).
 
 Automated setup
@@ -41,4 +41,4 @@ Original code provided by AWS.
 Author Information
 ------------------
 
-ECGALAXY team.
+[ECGALAXY](https://code.europa.eu/groups/ecgalaxy/-/wikis/home) team.
-- 
GitLab