Skip to content

Commit 718559f

Browse files
authored
Update ci.rake (shakacode#377)
Need to run tests before linting so locale files are built!
1 parent 6783181 commit 718559f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: lib/tasks/ci.rake

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ if Rails.env.development? || Rails.env.test?
2424

2525
namespace :ci do
2626
desc "Run all audits and tests"
27-
task all: [:environment, :lint, :rspec_tests, :js_tests, :bundle_audit, :security_audit] do
27+
# rspec_tests must be before lint and js_tests to build the locale files
28+
task all: [:environment, :rspec_tests, :lint, :js_tests, :bundle_audit, :security_audit] do
2829
begin
2930
puts "All CI tasks"
3031
puts Rainbow("PASSED").green

0 commit comments

Comments
 (0)