Skip to content

Commit 0382563

Browse files
ihabadhamclaude
andcommitted
fix: add React on Rails pack generation to Rspec CI workflow
- Add bundle exec rails react_on_rails:generate_packs step to Rspec CI - Resolves missing server-bundle-generated.js error in Rspec builds - Required for webpack to find generated component registration files 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent ed59836 commit 0382563

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/rspec_test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ jobs:
7373
- name: Build i18n libraries
7474
run: bundle exec rake react_on_rails:locale
7575

76+
- name: Generate React on Rails packs
77+
run: bundle exec rails react_on_rails:generate_packs
78+
7679
- name: Build Rescript components
7780
run: yarn res:build
7881

0 commit comments

Comments
 (0)