From c0feb46b8eee302dede3af997a7e9d67679a6bb5 Mon Sep 17 00:00:00 2001 From: William Desportes Date: Fri, 12 Sep 2025 15:59:39 +0200 Subject: [PATCH] Use NodeJS 20 at Scrutinizer (they use nvm) and use Ubuntu Noble for a newer glibc Previous: ``` node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by node) nvm is not compatible with the npm config "prefix" option: currently set to "" Run `nvm use --delete-prefix v20.19.0` to unset it. ``` ``` Downloading https://nodejs.scrutinizer-ci.com/dist/v20.19.0/node-v20.19.0-linux-x64.tar.xz... node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by node) nvm is not compatible with the npm config "prefix" option: currently set to "" Run `nvm use --delete-prefix v20.19.0` to unset it. ``` Signed-off-by: William Desportes --- .scrutinizer.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.scrutinizer.yml b/.scrutinizer.yml index 2656cadd15..fcd8806a67 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -18,11 +18,12 @@ tools: runs: 4 # php 7.x versions timeout: 900 # 15 min build: + image: default-jammy # New NodeJS versions require newer versions of glibc (noble was not available on 12/09/2025) nodes: analysis: environment: php: 8.2 - node: 23 # Scrutinizer does not have NodeJS 20 anymore + node: 20 # Scrutinizer uses nvm dependencies: before: - composer config --unset repositories.0