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