fix(cli): tests read opencv.js from a CI cache, never a CDN mid-test (#7968)

* fix(cli): tests read opencv.js from a CI cache, never a CDN mid-test

* chore(ci): re-pin the cli test job after its opencv cache step

* chore(cli): one-line note on the opencv cache copy
This commit is contained in:
Miguel Ángel
2026-11-18 02:02:15 +00:00
committed by GitHub
parent c569417bb5
commit e6cee094b1
8 changed files with 61 additions and 24 deletions
@@ -0,0 +1,6 @@
// Fetches opencv.js and the face models into this machine's cache, verified against opencv.ts's pins, so the
// tests copy them from there and none downloads anything.
import { loadOpenCv, OPENCV_DIR } from "../src/measure/opencv.ts";
await loadOpenCv((message) => console.log(message));
console.log(`opencv.js ready in ${OPENCV_DIR}`);