Skip to content

Commit 34386ad

Browse files
committed
fix: install frontend deps in integration runner
1 parent 7087c8c commit 34386ad

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

config/skills_repo.lock.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"branch": "main",
33
"head_commit": "8d02a1c62f0fa1bf96210b2e7a3525538a109cab",
44
"origin_url": "https://github.com/MRiabov/Problemologist-skills",
5-
"recorded_at_utc": "2026-03-30T06:31:47Z",
5+
"recorded_at_utc": "2026-03-30T06:44:21Z",
66
"skills_repo_path": "skills"
77
}

scripts/internal/integration_runner.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1365,6 +1365,9 @@ def _prepare_frontend_dist(repo_root: Path, frontend_state_file: Path | None) ->
13651365
)
13661366
env = os.environ.copy()
13671367
env["PYTHONPATH"] = "."
1368+
# CI checkouts do not have frontend node_modules populated, so install
1369+
# the locked frontend toolchain before generating API clients or building.
1370+
_run(["npm", "ci"], cwd=repo_root / "frontend")
13681371
_run(["uv", "run", "python", "scripts/generate_openapi.py"], env=env)
13691372
_run(["npm", "run", "gen:api"], cwd=repo_root / "frontend")
13701373
production_env = repo_root / "frontend" / ".env.production"

0 commit comments

Comments
 (0)