Skip to content

Commit a6c6d93

Browse files
Add GitHub Actions workflows for React on Rails Pro
This PR migrates React on Rails Pro CI from CircleCI to GitHub Actions, consolidating all CI infrastructure in one platform. ## Changes Created 3 new GitHub Actions workflows in `.github/workflows/`: 1. **pro-lint.yml** - Linting workflow - Lint JS/Ruby/TypeScript for Pro package - Check formatting with Prettier - Run on Pro package, dummy app, and ExecJS dummy app 2. **pro-package-tests.yml** - Unit tests workflow - Jest tests for Pro package (Node 20, 22) - RSpec tests for Pro package (Ruby 3.2, 3.3) - Store test results and logs as artifacts 3. **pro-integration-tests.yml** - Integration & E2E tests workflow - Build webpack test bundles job - RSpec integration tests with Node renderer (parallelized across 3 shards) - Playwright E2E tests with Redis service container - Chrome installation for browser tests - Background processes for Node renderer and Rails server ## Key Features - **Test Parallelization**: RSpec tests split across 3 shards using matrix strategy - **Redis Service**: Native GitHub Actions service container for E2E tests - **Caching**: Efficient caching for node_modules and Ruby gems - **Artifacts**: Store test results, screenshots, Capybara artifacts, and logs - **Background Processes**: Node renderer and Rails server run in background - **Ruby/Node Versions**: Ruby 3.3.7, Node 20/22 - **Working Directory**: All commands run from `react_on_rails_pro/` - **No Path Filtering**: Workflows run on all changes since Pro depends on core package ## Migration Strategy CircleCI config (`.circleci/config.yml`) will be removed in this PR after GitHub Actions workflows are verified to run successfully. All CircleCI jobs successfully migrated to GitHub Actions with equivalent or better functionality. Closes #1871 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent b73ff63 commit a6c6d93

File tree

3 files changed

+625
-0
lines changed

3 files changed

+625
-0
lines changed

0 commit comments

Comments
 (0)