DEV: Install dependencies before running smoke test.

This commit is contained in:
Guo Xiang Tan 2018-06-05 18:46:41 +08:00
parent 478c86e0a4
commit 32c0ff4831

View File

@ -8,6 +8,8 @@ task "smoke:test" do
abort "Chrome 59 or higher is required to run smoke tests in headless mode." abort "Chrome 59 or higher is required to run smoke tests in headless mode."
end end
system("yarn install --dev")
url = ENV["URL"] url = ENV["URL"]
if !url if !url
require "#{Rails.root}/config/environment" require "#{Rails.root}/config/environment"