Commit 22342fa
Fix jest-junit reporter error in CI (#ISSUE)
The CI was failing with two issues:
1. jest-junit module not found in node-renderer package
2. ESLint couldn't resolve react-on-rails imports in Pro package
Changes:
- Add jest-junit ^16.0.0 to node-renderer devDependencies
- Add jest-junit to root package devDependencies for consistency
- Add build step to pro-lint workflow before linting
- Add junit.xml to .gitignore
The build step is required because Pro package imports from react-on-rails,
and ESLint needs the built lib/ files to resolve module paths. Without
building first, ESLint import resolution fails with "Cannot find module"
errors.
Fixes:
- Error: Could not resolve a module for a custom reporter (jest-junit)
- ESLint import/no-duplicates, import/no-self-import, import/no-cycle errors
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 2cf263a commit 22342fa
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
164 | 168 | | |
165 | 169 | | |
166 | 170 | | |
| |||
0 commit comments