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 8383 benchmark :
8484 runs-on : ubuntu-latest
8585 env :
86- REACT_ON_RAILS_PRO_LICENSE : ${{ secrets.REACT_ON_RAILS_PRO_LICENSE }}
86+ SECRET_KEY_BASE : ' dummy-secret-key-for-ci-testing-not-used-in-production'
87+ REACT_ON_RAILS_PRO_LICENSE : ${{ secrets.REACT_ON_RAILS_PRO_LICENSE_V2 }}
8788
8889 steps :
8990 # ============================================
@@ -231,12 +232,8 @@ jobs:
231232 run : |
232233 cd spec/dummy
233234 bundle lock --add-platform 'x86_64-linux'
234- if ! bundle check --path=vendor/bundle; then
235- bundle _2.5.4_ install --path=vendor/bundle --jobs=4 --retry=3
236- fi
237-
238- - name : generate file system-based packs
239- run : cd spec/dummy && RAILS_ENV="production" bundle exec rake react_on_rails:generate_packs
235+ bundle config set path vendor/bundle
236+ bundle _2.5.4_ check || bundle _2.5.4_ install --jobs=4 --retry=3
240237
241238 - name : Prepare production assets
242239 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