Skip to content

Commit

Permalink
node ssl imcompatibility workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
timcowlishaw committed Dec 21, 2024
1 parent 21fd1e4 commit 3d56f42
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3d56f42

Please sign in to comment.