mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Update .node-version to last LTS and drop setup tests
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user