| ... | ... | @@ -30,7 +30,7 @@ jobs: |
| 30 | 30 | check_changes: |
| 31 | 31 | name: Check for changes since last nightly |
| 32 | 32 | if: github.event_name == 'schedule' |
| 33 | | runs-on: ubuntu-24.04 |
| 33 | runs-on: blacksmith-8vcpu-ubuntu-2404 |
| 34 | 34 | outputs: |
| 35 | 35 | has_changes: ${{ steps.check.outputs.has_changes }} |
| 36 | 36 | steps: |
| ... | ... | @@ -376,13 +376,16 @@ jobs: |
| 376 | 376 | registry-url: https://registry.npmjs.org |
| 377 | 377 | |
| 378 | 378 | - name: Install dependencies |
| 379 | | run: bun install --frozen-lockfile |
| 379 | run: bun install --frozen-lockfile --filter=t3 --filter=@t3tools/web --filter=@t3tools/scripts |
| 380 | 380 | |
| 381 | 381 | - name: Align package versions to release version |
| 382 | 382 | run: node scripts/update-release-package-versions.ts "${{ needs.preflight.outputs.version }}" |
| 383 | 383 | |
| 384 | - name: Build web package |
| 385 | run: bun --filter=@t3tools/web run build |
| 386 | |
| 384 | 387 | - name: Build CLI package |
| 385 | | run: bun run build --filter=@t3tools/web --filter=t3 |
| 388 | run: bun --filter=t3 run build |
| 386 | 389 | |
| 387 | 390 | - name: Publish CLI package |
| 388 | 391 | run: node apps/server/scripts/cli.ts publish --tag "${{ needs.preflight.outputs.cli_dist_tag }}" --app-version "${{ needs.preflight.outputs.version }}" --verbose |
| ... | ... | @@ -391,7 +394,7 @@ jobs: |
| 391 | 394 | name: Publish GitHub Release |
| 392 | 395 | needs: [preflight, build, publish_cli] |
| 393 | 396 | if: ${{ !failure() && !cancelled() && needs.preflight.result == 'success' && needs.build.result == 'success' && needs.publish_cli.result == 'success' }} |
| 394 | | runs-on: ubuntu-24.04 # blacksmith-8vcpu-ubuntu-2404 |
| 397 | runs-on: blacksmith-8vcpu-ubuntu-2404 |
| 395 | 398 | timeout-minutes: 10 |
| 396 | 399 | steps: |
| 397 | 400 | - id: app_token |
| ... | ... | @@ -418,7 +421,7 @@ jobs: |
| 418 | 421 | node-version-file: package.json |
| 419 | 422 | |
| 420 | 423 | - name: Install dependencies |
| 421 | | run: bun install --frozen-lockfile |
| 424 | run: bun install --frozen-lockfile --filter=@t3tools/scripts |
| 422 | 425 | |
| 423 | 426 | - name: Download all desktop artifacts |
| 424 | 427 | uses: actions/download-artifact@v8 |
| ... | ... | @@ -552,7 +555,7 @@ jobs: |
| 552 | 555 | node-version-file: package.json |
| 553 | 556 | |
| 554 | 557 | - name: Install dependencies |
| 555 | | run: bun install --frozen-lockfile |
| 558 | run: bun install --frozen-lockfile --filter=@t3tools/scripts |
| 556 | 559 | |
| 557 | 560 | - id: update_versions |
| 558 | 561 | name: Update version strings |
| ... | ... | @@ -562,7 +565,7 @@ jobs: |
| 562 | 565 | |
| 563 | 566 | - name: Format package.json files |
| 564 | 567 | if: steps.update_versions.outputs.changed == 'true' |
| 565 | | run: bunx oxfmt apps/server/package.json apps/desktop/package.json apps/web/package.json packages/contracts/package.json |
| 568 | run: bunx oxfmt@0.40.0 apps/server/package.json apps/desktop/package.json apps/web/package.json packages/contracts/package.json |
| 566 | 569 | |
| 567 | 570 | - name: Refresh lockfile |
| 568 | 571 | if: steps.update_versions.outputs.changed == 'true' |
| ... | ... | @@ -594,7 +597,7 @@ jobs: |
| 594 | 597 | needs.release.result == 'success' && |
| 595 | 598 | (needs.finalize.result == 'success' || needs.finalize.result == 'skipped') |
| 596 | 599 | needs: [preflight, release, finalize] |
| 597 | | runs-on: ubuntu-24.04 |
| 600 | runs-on: blacksmith-8vcpu-ubuntu-2404 |
| 598 | 601 | timeout-minutes: 10 |
| 599 | 602 | steps: |
| 600 | 603 | - name: Checkout |
| ... | ... | @@ -613,7 +616,7 @@ jobs: |
| 613 | 616 | node-version-file: package.json |
| 614 | 617 | |
| 615 | 618 | - name: Install dependencies |
| 616 | | run: bun install --frozen-lockfile |
| 619 | run: bun install --frozen-lockfile --filter=@t3tools/scripts |
| 617 | 620 | |
| 618 | 621 | - name: Announce prerelease on Discord |
| 619 | 622 | if: needs.preflight.outputs.is_prerelease == 'true' |