Skip to content

A platform for community discussion. Free, open, simple.

FIX: Make the docker:test task install dependencies before calling yarn ember test. (#12943)

Roman Rizzi57947873006e
diff --git a/lib/tasks/docker.rake b/lib/tasks/docker.rake
index aea55721c49..0e6bd415929 100644
--- a/lib/tasks/docker.rake
+++ b/lib/tasks/docker.rake
@@ -233,6 +233,7 @@ task 'docker:test' do
if ENV["EMBER_CLI"]
Dir.chdir("#{Rails.root}/app/assets/javascripts/discourse") do # rubocop:disable Discourse/NoChdir
+ @good &&= run_or_fail("yarn install")
@good &&= run_or_fail("yarn ember test")
end
end