Skip to content
Snippets Groups Projects

Resolve "Test compiling frontend assets for production in CI"

+ 17
0
@@ -240,6 +240,23 @@ rake db:seed_fu:
@@ -240,6 +240,23 @@ rake db:seed_fu:
paths:
paths:
- log/development.log
- log/development.log
 
rake gitlab:assets:compile:
 
stage: test
 
<<: *dedicated-runner
 
variables:
 
NODE_ENV: "production"
 
RAILS_ENV: "production"
 
USE_DB: "false"
 
SKIP_STORAGE_VALIDATION: "true"
 
script:
 
- bundle exec rake gitlab:assets:compile
 
artifacts:
 
name: webpack-production-bundle
 
expire_in: 7d
 
paths:
 
- node_modules
 
- public/assets
 
karma:
karma:
cache:
cache:
paths:
paths:
Loading