Initial public release
GeoIntel release gates / Compile, test, contracts and builds (push) Successful in 1m49s
GeoIntel release gates / Python and npm vulnerability policy (push) Successful in 21s
GeoIntel release gates / Production AI image, SBOM and container scan (push) Successful in 5m39s
GeoIntel release gates / Deploy exact gated revision to Unraid (push) Failing after 58m43s
GeoIntel release gates / Compile, test, contracts and builds (push) Successful in 1m49s
GeoIntel release gates / Python and npm vulnerability policy (push) Successful in 21s
GeoIntel release gates / Production AI image, SBOM and container scan (push) Successful in 5m39s
GeoIntel release gates / Deploy exact gated revision to Unraid (push) Failing after 58m43s
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
from __future__ import annotations
|
||||
|
||||
import json
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[2]
|
||||
|
||||
|
||||
def test_frontend_toolchain_stays_on_audited_vite_and_node_versions() -> None:
|
||||
package = json.loads((ROOT / "frontend" / "package.json").read_text(encoding="utf-8"))
|
||||
lock = json.loads((ROOT / "frontend" / "package-lock.json").read_text(encoding="utf-8"))
|
||||
|
||||
assert package["engines"]["node"] == "^20.19.0 || >=22.12.0"
|
||||
assert package["devDependencies"]["vite"] == "^7.3.6"
|
||||
assert package["devDependencies"]["@vitejs/plugin-react"] == "^5.2.0"
|
||||
assert lock["packages"]["node_modules/vite"]["version"] == "7.3.6"
|
||||
assert lock["packages"]["node_modules/esbuild"]["version"] == "0.28.1"
|
||||
|
||||
Reference in New Issue
Block a user