From fa3210bb7fe88c3a3950b6b262fba3d1cda7a407 Mon Sep 17 00:00:00 2001 From: Sattvik Chakravarthy Date: Wed, 20 Nov 2024 11:35:37 +0530 Subject: [PATCH] fix: backend-sdk-testing --- .circleci/config_continue.yml | 1 + .circleci/installNode.sh | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100755 .circleci/installNode.sh diff --git a/.circleci/config_continue.yml b/.circleci/config_continue.yml index 4fb103b4..3f196ad3 100644 --- a/.circleci/config_continue.yml +++ b/.circleci/config_continue.yml @@ -43,6 +43,7 @@ jobs: - checkout - run: apt update && apt install -y jq - run: (cd .circleci/ && ./installJava.sh) + - run: (cd .circleci/ && ./installNode.sh 20) - run: echo "127.0.0.1 localhost.org" >> /etc/hosts - run: python3 -m pip install -r dev-requirements.txt - run: (cd .circleci/ && ./doBackendSDKTests.sh << parameters.cdi-version >> << parameters.fdi-version >>) diff --git a/.circleci/installNode.sh b/.circleci/installNode.sh new file mode 100755 index 00000000..c89d42ae --- /dev/null +++ b/.circleci/installNode.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +export NODE_VERSION=$1 + +curl -fsSL https://deb.nodesource.com/setup_$NODE_VERSION.x | bash - +apt-get install -y nodejs