File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5555
5656 test :
5757 runs-on : ubuntu-latest
58+ strategy :
59+ matrix :
60+ react : ['18', '19']
5861 steps :
5962 - name : Checkout repository
6063 uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
7073 key : ${{ runner.os }}-turbo-${{ github.sha }}
7174 restore-keys : |
7275 ${{ runner.os }}-turbo-
76+ - if : ${{ matrix.react == '19' }}
77+ run : node script/setup-react-19.mts
7378 - name : Install dependencies
7479 run : npm ci
7580 - name : Build
8186
8287 type-check :
8388 runs-on : ubuntu-latest
89+ strategy :
90+ matrix :
91+ react : ['18', '19']
8492 steps :
8593 - name : Checkout repository
8694 uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
96104 key : ${{ runner.os }}-turbo-${{ github.sha }}
97105 restore-keys : |
98106 ${{ runner.os }}-turbo-
107+ - if : ${{ matrix.react == '19' }}
108+ run : node script/setup-react-19.mts
99109 - name : Install dependencies
100110 run : npm ci
101111 - name : Build project
@@ -105,6 +115,9 @@ jobs:
105115
106116 examples :
107117 runs-on : ubuntu-latest
118+ strategy :
119+ matrix :
120+ react : ['18', '19']
108121 steps :
109122 - name : Checkout repository
110123 uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
@@ -120,6 +133,8 @@ jobs:
120133 key : ${{ runner.os }}-turbo-${{ github.sha }}
121134 restore-keys : |
122135 ${{ runner.os }}-turbo-
136+ - if : ${{ matrix.react == '19' }}
137+ run : node script/setup-react-19.mts
123138 - name : Install dependencies
124139 run : npm ci
125140 - name : Build
You can’t perform that action at this time.
0 commit comments