Commit 0a297b7
Fix JS tests workflow in CI (#2155)
### Summary
The matrix in `.github/workflows/package-js-tests.yml` didn't work:
`exclude` applies to the matrix itself and not to combinations added by
include. The result is
https://github.com/shakacode/react_on_rails/actions/runs/19803605936
<img width="1695" height="866" alt="image"
src="https://github.com/user-attachments/assets/20dfda26-9826-4431-b16d-fdacdfe84b97"
/>
on all workflow jobs since it was set up.
### Pull Request checklist
CI-only change, none of the below are needed.
- ~[ ] Add/update test to cover these changes~
- ~[ ] Update documentation~
- ~[ ] Update CHANGELOG file~
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Chores**
* CI workflow matrix reorganized (node versions moved to a dedicated
axis); Node install behavior adjusted; renderer test step split to run
against two packages.
* Dependency adjustments across packages: some dev/peer entries removed,
others added or relocated; package references updated in a dummy app.
* Tooling script extended to update React version constraints for an
additional package.
* **Tests**
* Test runner configuration enhanced to support TypeScript CommonJS/ESM
variants and additional TS file extensions.
<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: Alexey Romanov <alexey.v.romanov@gmail.com>
Co-authored-by: Abanoub Ghadban <abanoub@shakacode.com>1 parent 25e4639 commit 0a297b7
File tree
8 files changed
+160
-85
lines changed- .github/workflows
- packages
- react-on-rails-pro
- react-on-rails
- react_on_rails_pro/spec/dummy
- script
8 files changed
+160
-85
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
| 125 | + | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
130 | | - | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
3 | 18 | | |
4 | 19 | | |
5 | 20 | | |
6 | 21 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
17 | 34 | | |
18 | 35 | | |
19 | 36 | | |
| |||
23 | 40 | | |
24 | 41 | | |
25 | 42 | | |
26 | | - | |
| 43 | + | |
| 44 | + | |
27 | 45 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | 63 | | |
65 | 64 | | |
66 | 65 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
81 | 84 | | |
82 | 85 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
| 62 | + | |
69 | 63 | | |
70 | 64 | | |
71 | 65 | | |
| |||
0 commit comments