Skip to content

Commit 11bd7a2

Browse files
cliffhallclaude
andcommitted
ci: install at the root so each leg has the root toolchain
Run from a workspace directory, npm ci installs only that workspace's dependencies, so the root Prettier and ESLint were missing (exit 127). Refs #4864 Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: cliffhall <[email protected]>
1 parent 2429e10 commit 11bd7a2

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎.github/workflows/typescript.yml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,11 @@ jobs:
7474
node-version: 22
7575
cache: npm
7676

77+
# At the repo root, not in the package: run from a workspace directory,
78+
# `npm ci` installs only that workspace's dependencies, and the gate's
79+
# tools (Prettier, ESLint) are root devDependencies shared by every
80+
# package.
7781
- name: Install dependencies
78-
working-directory: src/${{ matrix.package }}
7982
run: npm ci
8083

8184
- name: Validate package

0 commit comments

Comments
 (0)