Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(build): pin Node 26.12.1 for development and standalone releases #23165

MergedPixPMusic(GitHub profile, opens in a new tab)merged 3 commits intomain fromrefs/pull/23165/headmerged by juliusmarminge View on GitHub

Showing 5 changed files with 13 additions and 11 deletions (loading 2).

x
0 of 5 viewed, 5 left
3 additions and 8 deletions.github/workflows/release-desktop.ymlModified
View file
@@ -253,18 +253,13 @@
if [[ "${{ inputs.version }}" =~ -nightly\.[0-9]{8}\.[0-9]+$ ]]; then brand=nightly; fi
node scripts/apply-web-brand-assets.ts "$brand" apps/server/dist/client
​
- # The single-executable is built with a Node that supports --build-sea
- # (25.7+); the repo itself stays on the engines.node version. A native
- # build injects into the runner's own Node; a Windows target downloads its
- # node.exe.
+ # Setup Vite+ selects the exact engines.node version from package.json.
+ # Native builds embed that executable; cross-target builds download the
+ # same version for their target.
- name: Build CLI single-executable
if: inputs.cli_archive
shell: bash
env:
- # The exact version, not a major: vp downloads it from nodejs.org/dist on
- # the runner, and only exact versions have a dist directory. Keep in
- # step with SEA_NODE_VERSION in apps/server/vite.config.ts.
- VP_NODE_VERSION: "26.8.2"
# The executable bundles the server again, so it needs the same stamp
# as release.yml's JS bundle.
T3CODE_TELEMETRY_CHANNEL: ${{ github.repository == 'pingdotgg/t3code' && inputs.release_channel || 'dev' }}
2 additions and 1 deletionapps/server/scripts/cli.tsModified
View file
@@ -11,6 +11,7 @@
​
import { DEVELOPMENT_ICON_OVERRIDES } from "../../../scripts/lib/brand-assets.ts";
import { findEsmImportsOfExternalPackages } from "../../../scripts/lib/cli-executable-imports.ts";