mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 16:51:22 +08:00
FIX: Make the docker:test task install dependencies before calling yarn ember test. (#12943)
This commit is contained in:
@ -233,6 +233,7 @@ task 'docker:test' do
|
|||||||
|
|
||||||
if ENV["EMBER_CLI"]
|
if ENV["EMBER_CLI"]
|
||||||
Dir.chdir("#{Rails.root}/app/assets/javascripts/discourse") do # rubocop:disable Discourse/NoChdir
|
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")
|
@good &&= run_or_fail("yarn ember test")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user