Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix(ci): use preinstalled Windows runner tools

Ezra Ellette9d21687da432
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.yml
index 81f4cab9d..1e0d6d114 100644
--- a/.github/workflows/release-app.yml
+++ b/.github/workflows/release-app.yml
@@ -247,15 +247,28 @@ jobs:
Write-Host "Created junction: $targetDir -> $shortDir"
- name: Setup Bun
+ if: runner.environment != 'self-hosted' || matrix.os_type != 'windows'
uses: oven-sh/setup-bun@v2
with:
bun-version: 1.3.10
+ - name: Verify preinstalled Bun (persistent Windows)
+ if: runner.environment == 'self-hosted' && matrix.os_type == 'windows'
+ shell: pwsh
+ run: |
+ if ((bun --version) -ne '1.3.10') { throw 'Expected Bun 1.3.10 on persistent runner' }
+
- name: Setup Node
+ if: runner.environment != 'self-hosted' || matrix.os_type != 'windows'
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.target == 'aarch64-pc-windows-msvc' && '22' || '20' }}
+ - name: Verify preinstalled Node (persistent Windows)
+ if: runner.environment == 'self-hosted' && matrix.os_type == 'windows'
+ shell: pwsh
+ run: node --version
+
- name: Set up Rust
if: matrix.os_type != 'windows'
uses: dtolnay/rust-toolchain@stable
diff --git a/.github/workflows/release-enterprise.yml b/.github/workflows/release-enterprise.yml
index bc54cd918..63db086b5 100644
--- a/.github/workflows/release-enterprise.yml
+++ b/.github/workflows/release-enterprise.yml
@@ -122,15 +122,28 @@ jobs:
Write-Host "Created junction: $targetDir -> $shortDir"
- name: Setup Bun
+ if: runner.environment == 'github-hosted'
uses: oven-sh/setup-bun@v2
with:
bun-version: "1.3.10"
+ - name: Verify preinstalled Bun
+ if: runner.environment == 'self-hosted'
+ shell: pwsh
+ run: |
+ if ((bun --version) -ne '1.3.10') { throw 'Expected Bun 1.3.10 on persistent runner' }
+
- name: Setup Node
+ if: runner.environment == 'github-hosted'
uses: actions/setup-node@v4
with:
node-version: "20"
+ - name: Verify preinstalled Node
+ if: runner.environment == 'self-hosted'
+ shell: pwsh
+ run: node --version
+
# Install pinned stable toolchain first (1.95+) — cpal fork's wasapi
# module uses windows-core 0.62 traits that don't resolve under the
# default 1.93.1 that rustup-init.exe currently ships. Matches the