mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 02:50:00 +08:00
DEV: run "yarn install" before lint tests
This commit is contained in:
parent
3501533a2b
commit
020e0d623a
|
@ -49,6 +49,7 @@ task 'docker:test' do
|
|||
begin
|
||||
@good = true
|
||||
unless ENV['SKIP_LINT']
|
||||
@good &&= run_or_fail("yarn install")
|
||||
puts "travis_fold:start:lint" if ENV["TRAVIS"]
|
||||
puts "Running linters/prettyfiers"
|
||||
puts "eslint #{`yarn eslint -v`}"
|
||||
|
|
Loading…
Reference in New Issue
Block a user