From 5a8e2710377c895d0baa2afea9a7acf57bb31940 Mon Sep 17 00:00:00 2001 From: Mathieu Lovato Stumpf Guntz Date: Fri, 7 May 2021 15:54:15 +0200 Subject: [PATCH] Update .node-version to last LTS and drop setup tests --- .node-version | 2 +- script/setup | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/.node-version b/.node-version index dd0ad7ae60..6b17d228d3 100644 --- a/.node-version +++ b/.node-version @@ -1 +1 @@ -5.12.0 +14.16.1 diff --git a/script/setup b/script/setup index 949cdcc234..a01c81d6bf 100755 --- a/script/setup +++ b/script/setup @@ -18,7 +18,6 @@ RED='\033[0;31m' NO_COLOR='\033[0m' RUBY_VERSION=$(cat .ruby-version) -NODE_VERSION=$(cat .node-version) # Check ruby version if ! ruby --version | grep $RUBY_VERSION > /dev/null; then @@ -26,12 +25,6 @@ if ! ruby --version | grep $RUBY_VERSION > /dev/null; then exit 1 fi -# Check node version -if ! node --version | grep $NODE_VERSION > /dev/null; then - printf "${RED}Open Food Network requires node ${NODE_VERSION}${NO_COLOR}. Have a look at: https://github.com/nodenv/nodenv\n" - exit 1 -fi - # Set up Ruby dependencies via Bundler if ! command -v bundle > /dev/null; then ./script/install-bundler