diff --git a/package.json b/package.json index e9697247..d5e01104 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "watch": "export HOUDINI_WATCH=1; script/build.sh", "build": "script/build.sh", "build-all": "npm ci && script/compile-assets.sh && npm run build", + "ci-build-all": "script/compile-assets.sh && npm run build", "test": "rake -v spec && npm run build && npx jest", "export-button-config": "bundle exec rake settings:generate_json", "export-i18n": "bundle exec rake settings:combine_translations", diff --git a/script/test.sh b/script/test.sh index 0c12e3d6..882f7b2d 100755 --- a/script/test.sh +++ b/script/test.sh @@ -1,2 +1,2 @@ #!/bin/bash -npm ci --unsafe-perm && rake db:create db:structure:load db:migrate && RAILS_ENV=test rake db:create db:structure:load test:prepare && rake spec && npm run build-all && npx jest \ No newline at end of file +npm ci --unsafe-perm && rake db:create db:structure:load db:migrate && RAILS_ENV=test rake db:create db:structure:load test:prepare && rake spec && npm run ci-build-all && npx jest \ No newline at end of file