diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-02-21 00:42:51 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-02-22 01:29:35 +0300 |
commit | 9a11acabb90ca0bd0826c5c21b09f96015337537 (patch) | |
tree | 4fdc6d6de7de30ac0e7de1ee6c37987d6dcd3eba /.gitlab-ci.yml | |
parent | cac59408a58a8c6d2c3ce4fa5a27161a186b5ed5 (diff) |
add webpack bundle analyzer to production output
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index becf2db85fb..e9a1cbc29f4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -250,7 +250,14 @@ rake gitlab:assets:compile: SETUP_DB: "false" USE_DB: "false" SKIP_STORAGE_VALIDATION: "true" - script: bundle exec rake yarn:install gitlab:assets:compile + WEBPACK_REPORT: "true" + script: + - bundle exec rake yarn:install gitlab:assets:compile + artifacts: + name: webpack-report + expire_in: 31d + paths: + - webpack-report/ rake karma: cache: @@ -400,6 +407,7 @@ pages: dependencies: - coverage - rake karma + - rake gitlab:assets:compile - lint:javascript:report script: - mv public/ .public/ @@ -407,6 +415,7 @@ pages: - mv coverage/ public/coverage-ruby/ || true - mv coverage-javascript/ public/coverage-javascript/ || true - mv eslint-report.html public/ || true + - mv webpack-report/ public/webpack-report/ || true artifacts: paths: - public |