update readme version

This commit is contained in:
2026-02-18 11:01:31 +01:00
parent 425327a1cf
commit 4494b818c5

View File

@@ -27,6 +27,7 @@ jobs:
echo "Installing fetch" echo "Installing fetch"
install_node=$false install_node=$false
if ! command -v node &> /dev/null; then if ! command -v node &> /dev/null; then
echo "No version of NodeJS detected"
install_node=true install_node=true
else else
node_version=$(node -v) node_version=$(node -v)
@@ -35,6 +36,7 @@ jobs:
node_version=${node_version%\.*} # Remove trailing ".*". node_version=${node_version%\.*} # Remove trailing ".*".
node_version=$(($node_version)) # Convert the NodeJS version number from a string to an integer. node_version=$(($node_version)) # Convert the NodeJS version number from a string to an integer.
if [ $node_version -lt 24 ]; then if [ $node_version -lt 24 ]; then
echo "node version : " $node_version
echo $"removing outdated npm version" echo $"removing outdated npm version"
install_node=true install_node=true
apt-get remove nodejs npm apt-get remove nodejs npm