|
50 | 50 | # have already run. Scheduled runs also decide here whether a nightly is due. |
51 | 51 | resolve_commit: |
52 | 52 | name: Resolve release commit |
| 53 | + if: github.repository == 'pingdotgg/t3code' |
53 | 54 | runs-on: blacksmith-8vcpu-ubuntu-2404 |
54 | 55 | timeout-minutes: 5 |
55 | 56 | outputs: |
@@ -128,12 +129,8 @@ jobs: |
128 | 129 | !/.repos/ |
129 | 130 | sparse-checkout-cone-mode: false |
130 | 131 |
|
131 | | - - name: Setup Vite+ |
132 | | - uses: voidzero-dev/setup-vp@v1 |
133 | | - with: |
134 | | - node-version-file: package.json |
135 | | - cache: true |
136 | | - run-install: true |
| 132 | + - name: Setup dependencies |
| 133 | + uses: ./.github/actions/setup-ci-deps |
137 | 134 | env: |
138 | 135 | pnpm_config_cache_dir: ${{ runner.temp }}/pnpm-metadata |
139 | 136 |
|
@@ -246,12 +243,8 @@ jobs: |
246 | 243 | !/.repos/ |
247 | 244 | sparse-checkout-cone-mode: false |
248 | 245 |
|
249 | | - - name: Setup Vite+ |
250 | | - uses: voidzero-dev/setup-vp@v1 |
251 | | - with: |
252 | | - node-version-file: package.json |
253 | | - cache: true |
254 | | - run-install: true |
| 246 | + - name: Setup dependencies |
| 247 | + uses: ./.github/actions/setup-ci-deps |
255 | 248 |
|
256 | 249 | - name: Ensure Electron runtime is installed |
257 | 250 | run: vp run --filter @t3tools/desktop ensure:electron |
@@ -280,12 +273,8 @@ jobs: |
280 | 273 | !/.repos/ |
281 | 274 | sparse-checkout-cone-mode: false |
282 | 275 |
|
283 | | - - name: Setup Vite+ |
284 | | - uses: voidzero-dev/setup-vp@v1 |
285 | | - with: |
286 | | - node-version-file: package.json |
287 | | - cache: true |
288 | | - run-install: true |
| 276 | + - name: Setup dependencies |
| 277 | + uses: ./.github/actions/setup-ci-deps |
289 | 278 |
|
290 | 279 | - name: Ensure Electron runtime is installed |
291 | 280 | run: vp run --filter @t3tools/desktop ensure:electron |
@@ -324,12 +313,8 @@ jobs: |
324 | 313 | !/.repos/ |
325 | 314 | sparse-checkout-cone-mode: false |
326 | 315 |
|
327 | | - - name: Setup Vite+ |
328 | | - uses: voidzero-dev/setup-vp@v1 |
329 | | - with: |
330 | | - node-version-file: package.json |
331 | | - cache: true |
332 | | - run-install: true |
| 316 | + - name: Setup dependencies |
| 317 | + uses: ./.github/actions/setup-ci-deps |
333 | 318 |
|
334 | 319 | # No Electron setup here: `t3` (apps/server) has no Electron dependency |
335 | 320 | # and none of its tests touch the runtime. Only the non-server `test` |
|
0 commit comments