Files
piik/.github/workflows
T
AAA 8cc939ac8f fix(mirror): check out the version file the mirror's scripts load
The mirror workflow checks out only scripts/, the npm manifests and the
Node version. Its second step runs release-mirror-source.mjs, which
imports release-version.mjs, which has imported
prototype/channel-core/development-version.json since product versions
came to decide admission. That file was outside the checkout, so a
mirror that still had work to do would stop at module loading before
it fetched the published packages.

The file is added to the checkout. A test walks the relative imports of
every script the workflow runs and requires each to be inside what the
workflow checks out; it fails without the added line.

Found by reading the build, packaging and release scripts as one area.
8cc939ac8f · 2026-11-29 20:40:03 +08:00
History
..