update readme action

This commit is contained in:
2026-02-18 11:17:28 +01:00
parent d762f6c3f7
commit 13381a2359

View File

@@ -44,10 +44,17 @@ jobs:
fi fi
if $install_node; then if $install_node; then
echo $"Installing node 24" NODE_MAJOR=24
apt-get install -y -q curl echo "Installing node ${NODE_MAJOR}"
apt-get update
apt-get install -y -q ca-certificates curl gnupg
mkdir -p /etc/apt/keyrings
curl -fsSL https://deb.nodesource.com/setup_24.x | bash curl -fsSL https://deb.nodesource.com/setup_24.x | bash
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_${NODE_MAJOR}.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list
apt-get update
apt-get install -y -q nodejs apt-get install -y -q nodejs
npm install npm --global
fi fi
echo "node version : " $(node -v) echo "node version : " $(node -v)