From 3d56f421bfaa06f9977fa815af22e889320de789 Mon Sep 17 00:00:00 2001 From: Tim Cowlishaw Date: Sat, 21 Dec 2024 14:08:36 +0100 Subject: [PATCH] node ssl imcompatibility workaround --- ci.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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