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

Instead, we'll do it alongside `bundle install` in `web.template.yml`: https://github.com/discourse/discourse_docker/pull/565
This commit is contained in:
David Taylor 2021-08-26 19:14:50 +01:00 committed by GitHub
parent 9415fecfd0
commit 0aa8798046
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 7 deletions

View File

@ -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"