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

This commit is contained in:
Roman Rizzi 2021-05-04 16:30:35 -03:00 committed by GitHub
parent d45c7973f9
commit 5794787300
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

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