fix: install correct nodejs as per frappe version (#970)

fixes #967, #969
This commit is contained in:
Revant Nandgaonkar
2022-10-19 14:22:07 +05:30
committed by GitHub
parent fcb52d218f
commit 8e7f8b3b71
3 changed files with 23 additions and 7 deletions

View File

@@ -73,7 +73,8 @@ target "default-args" {
BENCH_REPO = "${BENCH_REPO}"
FRAPPE_VERSION = "${FRAPPE_VERSION}"
ERPNEXT_VERSION = "${ERPNEXT_VERSION}"
PYTHON_VERSION = can(regex("v13", "${ERPNEXT_VERSION}")) ? "3.9" : "3.10"
PYTHON_VERSION = can(regex("v13", "${ERPNEXT_VERSION}")) ? "3.9.9" : "3.10.5"
NODE_VERSION = can(regex("v13", "${FRAPPE_VERSION}")) ? "14.19.3" : "16.18.0"
}
}