From 737dc740cfdf3d0938124087ffd8f2c39d35e3d3 Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Tue, 7 May 2024 13:13:44 +0100 Subject: [PATCH] Compiles webpacker within system specs nodes --- .github/workflows/build.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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: