aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/tasks/ci.rake7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/tasks/ci.rake b/lib/tasks/ci.rake
index 889a5c0ad..6b3b1bc32 100644
--- a/lib/tasks/ci.rake
+++ b/lib/tasks/ci.rake
@@ -31,14 +31,11 @@ namespace :ci do
sh "bundle exec bundle-audit check --update"
end
- task :spec => ["ci:assets","spec"]
-
task :assets do
sh "RAILS_ENV=test bundle exec rake assets:precompile"
end
- task :jest => "ci:assets" do
- sh "yarn --no-progress install" # Hack to force install jest after webpack
+ task :jest do
sh "node_modules/.bin/jest" unless ["CHOUETTE_JEST_DISABLED"]
end
@@ -59,4 +56,4 @@ namespace :ci do
end
desc "Run continuous integration tasks (spec, ...)"
-task :ci => ["ci:setup", "ci:spec", "i18n:js:export", "ci:jest", "cucumber", "ci:check_security", "ci:deploy", "ci:clean"]
+task :ci => ["ci:setup", "ci:assets", "i18n:js:export", "spec", "ci:jest", "cucumber", "ci:check_security", "ci:deploy", "ci:clean"]