File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed
react_on_rails_pro/spec/dummy/bin Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 8888 benchmark :
8989 runs-on : ubuntu-latest
9090 env :
91- REACT_ON_RAILS_PRO_LICENSE : ${{ secrets.REACT_ON_RAILS_PRO_LICENSE }}
91+ SECRET_KEY_BASE : ' dummy-secret-key-for-ci-testing-not-used-in-production'
92+ REACT_ON_RAILS_PRO_LICENSE : ${{ secrets.REACT_ON_RAILS_PRO_LICENSE_V2 }}
9293
9394 steps :
9495 # ============================================
@@ -236,12 +237,8 @@ jobs:
236237 run : |
237238 cd spec/dummy
238239 bundle lock --add-platform 'x86_64-linux'
239- if ! bundle check --path=vendor/bundle; then
240- bundle _2.5.4_ install --path=vendor/bundle --jobs=4 --retry=3
241- fi
242-
243- - name : generate file system-based packs
244- run : cd spec/dummy && RAILS_ENV="production" bundle exec rake react_on_rails:generate_packs
240+ bundle config set path vendor/bundle
241+ bundle _2.5.4_ check || bundle _2.5.4_ install --jobs=4 --retry=3
245242
246243 - name : Prepare production assets
247244 if : github.event.inputs.app_version != 'pro_only'
Original file line number Diff line number Diff line change @@ -5,4 +5,5 @@ export RAILS_ENV=production
55if [ " $CI " = " true" ]; then
66 bundle exec bootsnap precompile --gemfile app/ lib/ config/
77fi
8+ bundle exec rails react_on_rails:generate_packs
89bundle exec rails assets:precompile
You can’t perform that action at this time.
0 commit comments