DEV: Update supported node versions (#15073)

13 and 15 are no longer supported by node, and issues with discourse dependencies prevent us from using 17. (for now)
This commit is contained in:
Jarek Radosz
2021-11-24 18:18:35 +01:00
committed by GitHub
parent 3f97f884fe
commit c75224e3d9
11 changed files with 11 additions and 12 deletions

View File

@ -46,7 +46,7 @@ if !args.include?("test") && !args.include?("--proxy")
args << PROXY
end
system "yarn -s install --cwd #{yarn_dir}"
exit 1 if !system "yarn -s install --cwd #{yarn_dir}"
if ARGV.include?("-u") || ARGV.include?("--unicorn")
unicorn_env = { "DISCOURSE_PORT" => ENV["DISCOURSE_PORT"] || "4200" }
@ -72,7 +72,6 @@ if ARGV.include?("-u") || ARGV.include?("--unicorn")
end
Process.wait(unicorn_pid)
else
exec "yarn", *args.to_a.flatten
end