diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index 8cb0bc90e..286a7a921 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -35,6 +35,10 @@ jobs: with: python-version: "3.10" cache: "poetry" + - name: Set up Nodejs 20 + uses: actions/setup-node@v4 + with: + node-version: "20" - name: Check Version id: check-version run: | diff --git a/src/frontend/src/pages/FlowPage/components/PageComponent/index.tsx b/src/frontend/src/pages/FlowPage/components/PageComponent/index.tsx index 9d1db186f..eb94a7fde 100644 --- a/src/frontend/src/pages/FlowPage/components/PageComponent/index.tsx +++ b/src/frontend/src/pages/FlowPage/components/PageComponent/index.tsx @@ -11,13 +11,13 @@ import ReactFlow, { SelectionDragHandler, updateEdge, } from "reactflow"; +import GenericNode from "../../../../CustomNodes/GenericNode"; import { INVALID_SELECTION_ERROR_ALERT, UPLOAD_ALERT_LIST, UPLOAD_ERROR_ALERT, WRONG_FILE_ERROR_ALERT, } from "../../../../constants/alerts_constants"; -import GenericNode from "../../../../customNodes/GenericNode"; import useAlertStore from "../../../../stores/alertStore"; import useFlowStore from "../../../../stores/flowStore"; import useFlowsManagerStore from "../../../../stores/flowsManagerStore"; diff --git a/src/frontend/src/utils/reactflowUtils.ts b/src/frontend/src/utils/reactflowUtils.ts index d1f960017..62e87c50b 100644 --- a/src/frontend/src/utils/reactflowUtils.ts +++ b/src/frontend/src/utils/reactflowUtils.ts @@ -8,6 +8,7 @@ import { XYPosition, } from "reactflow"; import ShortUniqueId from "short-unique-id"; +import getFieldTitle from "../CustomNodes/utils/get-field-title"; import { INPUT_TYPES, LANGFLOW_SUPPORTED_TYPES, @@ -16,7 +17,6 @@ import { specialCharsRegex, } from "../constants/constants"; import { downloadFlowsFromDatabase } from "../controllers/API"; -import getFieldTitle from "../customNodes/utils/get-field-title"; import { DESCRIPTIONS } from "../flow_constants"; import { APIClassType,