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
+1 -1
View File
@@ -65,7 +65,7 @@
"tests": ["packages/cli/src/**/*.test.ts"],
"sources": {
"packages/cli/vitest.config.ts": "135ef1c442b32ec5316b23e24d2f8cf0111d889fcb141c95dbd933cf2eaaf8f4",
".github/workflows/ci.yml#job#test-cli": "66a1249d0d3f0e6f72adb4c22bf7f76b7a8dabcee3204b6bf8cbcc636a9d7cb4",
".github/workflows/ci.yml#job#test-cli": "db01120324977a0f01c69ce35e3ab8efe7f0d5e7130522dd2fe34cb95a461777",
"packages/cli/package.json#script#test": "ad6cd6b8acf39571390d7bc1772410249266fa406be150a22f0065827e400496"
},
"reason": "The cli test script is split into two vitest shards by a matrix; both run in one job, so every file the config's three projects select (src/**/*.test.ts) runs in one of them. Config, job and script are pinned."