diff options
| author | Luc Donnet | 2018-02-01 11:31:56 +0100 |
|---|---|---|
| committer | Luc Donnet | 2018-02-01 11:31:56 +0100 |
| commit | 8f2a4ca4de2cac80eea379cba559124ee5dff403 (patch) | |
| tree | 327fd93cf220079fa599a74b88232f7f23a595e5 /lib/tasks/ci.rake | |
| parent | dbdd28e7f4061e84b19e3394eef263e908b23136 (diff) | |
| download | chouette-core-8f2a4ca4de2cac80eea379cba559124ee5dff403.tar.bz2 | |
Fix yarn installation with no production for ci and force yarn install before jest launch du to webpacker bug
Diffstat (limited to 'lib/tasks/ci.rake')
| -rw-r--r-- | lib/tasks/ci.rake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/tasks/ci.rake b/lib/tasks/ci.rake index 82619d04b..13d7b8d73 100644 --- a/lib/tasks/ci.rake +++ b/lib/tasks/ci.rake @@ -3,7 +3,7 @@ namespace :ci do task :setup do cp "config/database/jenkins.yml", "config/database.yml" sh "RAILS_ENV=test rake db:drop db:create db:migrate" - sh "yarn --production --no-progress install" + sh "yarn --no-progress install" end def git_branch @@ -38,6 +38,7 @@ namespace :ci do end task :jest => "ci:assets" do + sh "yarn --no-progress install" # Hack to force install jest after webpack sh "node_modules/.bin/jest" unless ["CHOUETTE_JEST_DISABLED"] end |
