aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tasks
diff options
context:
space:
mode:
authorGuillaume2017-10-17 11:25:20 +0200
committerGuillaume2017-10-17 11:25:38 +0200
commit58cfec64c621d1c6893280f5ad8793af81573199 (patch)
tree1d9465bed12b9c0424dbfbf3f80b285d19bac18f /lib/tasks
parent9f5bc2af2aa2e4b509448294493b2663a384597e (diff)
downloadchouette-core-58cfec64c621d1c6893280f5ad8793af81573199.tar.bz2
add ci jest task Refs #4737
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/ci.rake6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/tasks/ci.rake b/lib/tasks/ci.rake
index 9896a3115..3e73b7a3b 100644
--- a/lib/tasks/ci.rake
+++ b/lib/tasks/ci.rake
@@ -37,6 +37,10 @@ namespace :ci do
sh "RAILS_ENV=test bundle exec rake assets:precompile"
end
+ task :jest => "ci:assets" do
+ sh "node_modules/.bin/jest"
+ end
+
desc "Deploy after CI"
task :deploy do
if deploy_env
@@ -54,4 +58,4 @@ namespace :ci do
end
desc "Run continuous integration tasks (spec, ...)"
-task :ci => ["ci:setup", "ci:spec", "cucumber", "ci:check_security", "ci:deploy", "ci:clean"]
+task :ci => ["ci:setup", "ci:spec", "ci:jest", "cucumber", "ci:check_security", "ci:deploy", "ci:clean"]