Bump rust and node

This commit is contained in:
Andras Schmelczer 2026-03-25 19:59:19 +00:00
parent 9a75569e83
commit a84c707761
7 changed files with 19 additions and 18 deletions

View file

@ -2,8 +2,10 @@
set -e
TARGET_NODE_VERSION=25
node_version=$(node -v | sed 's/^v\([0-9]*\).*/\1/')
if [ "$node_version" != "22" ]; then
echo "Error: This script requires Node.js version 22, found: $node_version"
if [ "$node_version" != "$TARGET_NODE_VERSION" ]; then
echo "Error: This script requires Node.js version $TARGET_NODE_VERSION, found: $node_version"
exit 1
fi