Update .node-version to last LTS and drop setup tests

This commit is contained in:
Mathieu Lovato Stumpf Guntz
2021-05-07 15:54:15 +02:00
parent 35671e2464
commit 5a8e271037
2 changed files with 1 additions and 8 deletions

View File

@@ -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