diff --git a/.node-version b/.node-version index 2bd5a0a98..91d5f6ff8 100644 --- a/.node-version +++ b/.node-version @@ -1 +1 @@ -22 +22.18.0 diff --git a/nixpacks.toml b/nixpacks.toml index 12c80e8ef..fd7dd2ffd 100644 --- a/nixpacks.toml +++ b/nixpacks.toml @@ -1,5 +1,12 @@ providers = ["node"] +[phases.setup] +nixPkgs = ["nodejs_22", "npm-10_x", "openssl"] + +[variables] +NODE_VERSION = "22.18.0" +NIXPACKS_NODE_VERSION = "22.18.0" + [phases.install] cmds = ["npm cache clean --force && npm install --legacy-peer-deps"]