diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c34762c145..989aa2c059 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,7 +12,6 @@ env: TIMEZONE: UTC COVERAGE: true RAILS_ENV: test - bundle exec rails webpacker:compile permissions: contents: read @@ -194,6 +193,10 @@ jobs: run: | bundle exec rake db:create db:schema:load + - name: Webpack compilation + run: RAILS_ENV=test bundle exec rails webpacker:compile + + - name: Run tests env: @@ -271,6 +274,9 @@ jobs: run: | bundle exec rake db:create db:schema:load + - name: Webpack compilation + run: RAILS_ENV=test bundle exec rails webpacker:compile + - name: Run tests env: