Skip to content
This repository was archived by the owner on Jun 8, 2026. It is now read-only.

[codex] Update desktop tooling baseline for Node 24 #1072

[codex] Update desktop tooling baseline for Node 24

[codex] Update desktop tooling baseline for Node 24 #1072

Workflow file for this run

name: Tests
on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches: [main]
concurrency:
group: test-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: read
packages: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 24
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Verify Electron binary install
working-directory: apps/desktop
run: |
unset ELECTRON_SKIP_BINARY_DOWNLOAD
electron_dir="$(node -p "const path = require('node:path'); path.dirname(require.resolve('electron/package.json'))")"
node "$electron_dir/install.js"
node - <<'NODE'
const fs = require("node:fs");
const path = require("node:path");
const electronDir = path.dirname(require.resolve("electron/package.json"));
const pathFile = path.join(electronDir, "path.txt");
if (!fs.existsSync(pathFile)) {
throw new Error(`Electron path.txt missing after install at ${pathFile}`);
}
const electronBinary = require("electron");
if (!fs.existsSync(electronBinary)) {
throw new Error(`Electron binary missing after install at ${electronBinary}`);
}
NODE
- name: Generate build info
run: pnpm -r prebuild
- name: Lint
run: pnpm -C apps/desktop lint
- name: Typecheck
run: pnpm typecheck
- name: Assert design-system boundary
run: pnpm -C apps/desktop assert:design-system-boundary
- name: Assert design-system flag-off boot
run: pnpm -C apps/desktop test:boot:design-system-off
- name: Measure Agent Dashboard storage
run: pnpm -C apps/desktop measure:agent-dashboard-storage
- name: Run tests
run: pnpm test