]> cat aescling's git repositories - mastodon.git/commitdiff
Change CircleCI config to build assets with NODE_ENV=test
authorThibaut Girka <thib@sitedethib.com>
Thu, 7 Nov 2019 11:47:41 +0000 (12:47 +0100)
committerThibaut Girka <thib@sitedethib.com>
Thu, 7 Nov 2019 12:27:36 +0000 (13:27 +0100)
This should avoid minimization and other expensive webpack
transformations which aren't useful for running tests.

.circleci/config.yml

index 2efa31e64f51f729ba5bb29b6fb680f287f2381c..796d6cf6e51c2af37642d0d97422f3516bc663ff 100644 (file)
@@ -9,6 +9,7 @@ aliases:
           DB_HOST: localhost
           DB_USER: root
           RAILS_ENV: test
+          NODE_ENV: test
           PARALLEL_TEST_PROCESSORS: 4
           ALLOW_NOPAM: true
           CONTINUOUS_INTEGRATION: true