guardian: bump Node.js from 24 to 26 (#18375)

* guardian: bump Node.js from 24 to 26

* Set NODE_VERSION to 26 before updating Guardian

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: CanbiZ (MickLesk) <47820557+MickLesk@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2026-11-02 09:00:09 +01:00
committed by GitHub
parent 236242ee86
commit e5535c2bfe
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -53,6 +53,8 @@ function update_script() {
msg_ok "Restored Database"
fi
NODE_VERSION="26" setup_nodejs
msg_info "Updating Guardian"
cd /opt/guardian/backend
$STD npm ci
+1 -1
View File
@@ -17,7 +17,7 @@ msg_info "Installing Dependencies"
$STD apt install -y sqlite3
msg_ok "Installed Dependencies"
NODE_VERSION="24" setup_nodejs
NODE_VERSION="26" setup_nodejs
fetch_and_deploy_gh_release "guardian" "HydroshieldMKII/Guardian" "tarball" "latest" "/opt/guardian"
msg_info "Configuring ${APPLICATION}"