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 <williamdes@wdes.fr>
This commit is contained in:
parent
1337a60510
commit
c0feb46b8e
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user