diff --git a/ci.sh b/ci.sh index ee9c5806..09d1b4a3 100755 --- a/ci.sh +++ b/ci.sh @@ -2,15 +2,12 @@ set -ae git config --global --add safe.directory /app source $NVM_DIR/nvm.sh -echo $NVM_DIR -echo `nvm --version` -echo `which nvm` nvm use default yarn install -bundle exec bin/rake assets:precompile +NODE_OPTIONS=--openssl-legacy-provider bundle exec bin/rake assets:precompile bundle exec bin/rake db:create bundle exec bin/rake db:schema:load unset DATABASE_URL RAILS_ENV=test bundle exec bin/rake db:create RAILS_ENV=test bundle exec bin/rake db:schema:load -bundle exec bin/rake +bundle exec bin/rake spec