|
45 | 45 | if: steps.cache-node-modules.outputs.cache-hit != 'true' |
46 | 46 | run: yarn --frozen-lockfile |
47 | 47 |
|
| 48 | + - name: Generate Chakra types |
| 49 | + if: steps.cache-node-modules.outputs.cache-hit == 'true' |
| 50 | + run: yarn chakra:typegen |
| 51 | + |
48 | 52 | - name: Run ESLint |
49 | 53 | run: echo "skip lint:eslint for now" |
50 | 54 |
|
|
77 | 81 | if: steps.cache-node-modules.outputs.cache-hit != 'true' |
78 | 82 | run: yarn --frozen-lockfile |
79 | 83 |
|
| 84 | + - name: Generate Chakra types |
| 85 | + if: steps.cache-node-modules.outputs.cache-hit == 'true' |
| 86 | + run: yarn chakra:typegen |
| 87 | + |
80 | 88 | - name: Install package dependencies |
81 | 89 | run: | |
82 | 90 | cd ./toolkit/package |
@@ -136,6 +144,10 @@ jobs: |
136 | 144 | if: steps.cache-node-modules.outputs.cache-hit != 'true' |
137 | 145 | run: yarn --frozen-lockfile |
138 | 146 |
|
| 147 | + - name: Generate Chakra types |
| 148 | + if: steps.cache-node-modules.outputs.cache-hit == 'true' |
| 149 | + run: yarn chakra:typegen |
| 150 | + |
139 | 151 | - name: Install script dependencies |
140 | 152 | run: cd ./deploy/tools/envs-validator && yarn --frozen-lockfile |
141 | 153 |
|
@@ -175,6 +187,10 @@ jobs: |
175 | 187 | if: steps.cache-node-modules.outputs.cache-hit != 'true' |
176 | 188 | run: yarn --frozen-lockfile |
177 | 189 |
|
| 190 | + - name: Generate Chakra types |
| 191 | + if: steps.cache-node-modules.outputs.cache-hit == 'true' |
| 192 | + run: yarn chakra:typegen |
| 193 | + |
178 | 194 | - name: Run Jest |
179 | 195 | run: yarn test:jest ${{ github.event_name == 'pull_request' && '--changedSince=origin/main' || '' }} --passWithNoTests |
180 | 196 |
|
@@ -207,6 +223,10 @@ jobs: |
207 | 223 | if: steps.cache-node-modules.outputs.cache-hit != 'true' |
208 | 224 | run: yarn --frozen-lockfile |
209 | 225 |
|
| 226 | + - name: Generate Chakra types |
| 227 | + if: steps.cache-node-modules.outputs.cache-hit == 'true' |
| 228 | + run: yarn chakra:typegen |
| 229 | + |
210 | 230 | - name: Install script dependencies |
211 | 231 | run: cd ./deploy/tools/affected-tests && yarn --frozen-lockfile |
212 | 232 |
|
@@ -264,6 +284,10 @@ jobs: |
264 | 284 | if: steps.cache-node-modules.outputs.cache-hit != 'true' |
265 | 285 | run: yarn --frozen-lockfile |
266 | 286 |
|
| 287 | + - name: Generate Chakra types |
| 288 | + if: steps.cache-node-modules.outputs.cache-hit == 'true' |
| 289 | + run: yarn chakra:typegen |
| 290 | + |
267 | 291 | - name: Download affected tests list |
268 | 292 | if: ${{ needs.pw_affected_tests.result == 'success' }} |
269 | 293 | uses: actions/download-artifact@v4 |
|
0 commit comments