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

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

diff --git a/lib/tasks/docker.rake b/lib/tasks/docker.rake
index aea5572..0e6bd41 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

GitHub sha: 57947873

This commit appears in #12943 which was approved by featheredtoast. It was merged by romanrizzi.