Ver Fonte

require node 20

Khaleel Al-Adhami há 3 semanas atrás
pai
commit
59f9a1bb77

+ 4 - 0
.github/actions/setup_build_env/action.yml

@@ -33,3 +33,7 @@ runs:
         enable-cache: true
         prune-cache: false
         cache-dependency-glob: "uv.lock"
+    - name: Setup Node
+      uses: actions/setup-node@v4
+      with:
+        node-version: 22

+ 1 - 1
reflex/constants/installer.py

@@ -63,7 +63,7 @@ class Node(SimpleNamespace):
     """Node/ NPM constants."""
 
     # The minimum required node version.
-    MIN_VERSION = "18.18.0"
+    MIN_VERSION = "20.0.0"
 
     # Path of the node config file.
     CONFIG_PATH = ".npmrc"