From 54f54f020aa79c4f2d36b0fcb3d43f2bccbe873a Mon Sep 17 00:00:00 2001 From: Brenda Wallace Date: Sat, 25 May 2019 10:31:26 +1200 Subject: [PATCH] Make sure we precompile the assets before running percy --- script/percy.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/script/percy.sh b/script/percy.sh index 33c43ce7b..8df5ba590 100755 --- a/script/percy.sh +++ b/script/percy.sh @@ -1,2 +1,3 @@ #!/bin/bash +bundle exec rails assets:precompile PERCY_TARGET_BRANCH=dev npx percy exec -- bundle exec rspec spec/features/percy/