mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-24 02:27:52 -06:00
fix: read pipeline caches from the repository root
This commit is contained in:
1 parent
985d07b97e
commit
7ff8b5faf6
3 files changed
+26
-7
No files matched your search
@@ -5,8 +5,8 @@ from __future__ import annotations
|
||||
import argparse
|
||||
import shutil
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
from core.paths import REPO_ROOT
|
||||
from orchestrate import runner
|
||||
from orchestrate.labels import STEP_LABELS, skip_notice
|
||||
from orchestrate.results import SKIPPED
|
||||
@@ -59,7 +59,7 @@ def docs_steps(args: argparse.Namespace, results: dict) -> bool:
|
||||
if args.skip_docs:
|
||||
skip_notice("render_site", "--skip-docs")
|
||||
results["render_site"] = SKIPPED
|
||||
elif shutil.which("npm") is None or not Path("website/node_modules").is_dir():
|
||||
elif shutil.which("npm") is None or not (REPO_ROOT / "website" / "node_modules").is_dir():
|
||||
skip_notice("render_site", "Node not set up: npm ci --prefix website")
|
||||
results["render_site"] = SKIPPED
|
||||
else:
|
||||
|
||||
Reference in new issue
Block a user