FIX: Make the docker:test task install dependencies before calling yarn ember test. (#12943)
This commit is contained in:
parent
d45c7973f9
commit
5794787300
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue