Update node to 22.20.0
This commit is contained in:
@@ -36,8 +36,8 @@ if ! $(cd "${SOURCE_DIR}" && git diff --exit-code >/dev/null); then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [[ "$(node --version)" != "v22.17.0" ]]; then
|
||||
echo "This script requires node 22.17.0"
|
||||
if [[ "$(node --version)" != "v22.20.0" ]]; then
|
||||
echo "This script requires node 22.20.0"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
@@ -128,7 +128,7 @@ if ! which docker 2>/dev/null || [[ $(docker version --format {{.Client.Version}
|
||||
fi
|
||||
|
||||
readonly old_node_version=20.18.0
|
||||
readonly node_version=22.17.0
|
||||
readonly node_version=22.20.0
|
||||
if ! which node 2>/dev/null || [[ "$(node --version)" != "v${node_version}" ]]; then
|
||||
log "installing/updating node ${node_version}"
|
||||
mkdir -p /usr/local/node-${node_version}
|
||||
|
||||
Reference in New Issue
Block a user