fix(ci): run gateway tests via pnpm exec
The Linux CI run on 555470b fails in openclaw-gateway-tests because the
check phase calls `pnpm vitest`, which depends on a workspace command
shim that is not present in this Nix check environment.
Switch the check to `pnpm exec vitest` so it resolves the installed local
binary directly.
Tests:
- sh -n nix/scripts/gateway-tests-check.sh
- verified remote failure in CI run 24210350242: ERR_PNPM_RECURSIVE_EXEC_FIRST_FAIL Command "vitest" not found
This commit is contained in:
parent
555470b594
commit
e7c2d39efa
@ -22,4 +22,4 @@ export VITEST_POOL="forks"
|
||||
export VITEST_MIN_WORKERS="2"
|
||||
export VITEST_MAX_WORKERS="2"
|
||||
|
||||
pnpm vitest run --config vitest.gateway.config.ts --testTimeout=20000
|
||||
pnpm exec vitest run --config vitest.gateway.config.ts --testTimeout=20000
|
||||
|
||||
Loading…
Reference in New Issue
Block a user