From f3b020ac29be8fca5556df34231b3ca020b010f4 Mon Sep 17 00:00:00 2001 From: I-Lung Lee Date: Mon, 1 Nov 2021 18:58:04 -0700 Subject: [PATCH] ci: compile webpacker assets on ci runs --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 226c7e8a..528424f1 100644 --- a/Rakefile +++ b/Rakefile @@ -18,7 +18,7 @@ task :prepare_assets do system "rm -rf test/dummy/public/packs" system "rm -rf test/dummy/public/packs-test" system "yarn install --frozen-lockfile" - system "(cd test/dummy && yarn install --frozen-lockfile)" + system "(cd test/dummy && yarn install --frozen-lockfile) && RAILS_ENV=test bundle exec rails webpacker:compile" end # Generate dependency licenses