mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-10-21 05:23:19 +00:00
ci: install the repo-root tools the Rust cross-process test spawns
The new lock test starts a real Node process alongside the Rust one so both write the same settings file at once, which is the only way to prove a cross-process lock. The Node half is TypeScript run through tsx, and tsx is a repo-root devDependency, while this job only runs `npm ci` inside windows/. The worker exited 1 with "Cannot find package 'tsx'" and the test failed on both legs. The test's own skip path covers a node binary that will not spawn, not a worker that starts and dies, and widening it would let the guard disappear in silence, which is worse than a red job. Install the dependency instead.
This commit is contained in:
parent
615c94241b
commit
65e05f3eba
1 changed files with 9 additions and 0 deletions
9
.github/workflows/windows-menubar-ci.yml
vendored
9
.github/workflows/windows-menubar-ci.yml
vendored
|
|
@ -63,6 +63,15 @@ jobs:
|
|||
working-directory: windows
|
||||
run: npm ci
|
||||
|
||||
# The Rust suite's cross-process lock test spawns a real Node process beside the
|
||||
# Rust one, so both hammer the same settings file (dock.rs,
|
||||
# `concurrent_node_and_rust_patches_to_the_dock_file_both_survive`). The worker is
|
||||
# TypeScript run through tsx, which lives in the repo root's devDependencies and is
|
||||
# not installed by `npm ci` inside windows/. Without it the worker exits 1 and the
|
||||
# test fails, which is what it did rather than skipping.
|
||||
- name: Install the repo-root tools the Rust tests spawn
|
||||
run: npm ci --no-audit --no-fund
|
||||
|
||||
- name: Typecheck frontend
|
||||
working-directory: windows
|
||||
run: npx tsc --noEmit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue