DEV: Remove `yarn install` during `assets:precompile` (#14166)

DEV: Remove yarn install during assets:precompile (#14166)

Instead, we’ll do it alongside bundle install in web.template.yml: FIX: `yarn install` in web.template.yml by davidtaylorhq · Pull Request #565 · discourse/discourse_docker · Git

diff --git a/lib/tasks/assets.rake b/lib/tasks/assets.rake
index 4ba38b4..39bf7a3 100644
--- a/lib/tasks/assets.rake
+++ b/lib/tasks/assets.rake
@@ -240,13 +240,6 @@ def copy_ember_cli_assets
   assets = {}
   files = {}
 
-  log_task_duration('yarn install') {
-    unless system("yarn --cwd #{ember_dir} install")
-      STDERR.puts "Error running yarn install"
-      exit 1
-    end
-  }
-
   log_task_duration('ember build -prod') {
     unless system("yarn --cwd #{ember_dir} run ember build -prod")
       STDERR.puts "Error running ember build"

GitHub sha: 0aa879804679a5adfeeafb69e2d66153d2c2d155

This commit appears in #14166 which was approved by eviltrout. It was merged by davidtaylorhq.