wirenboard-agent-vm/.github/workflows
Evgeny Boger 953fb4aa47 ci(release-npm): fix node require path in idempotent-skip helper
Node's `require()` only treats a path as relative when prefixed with
`./`. Bare `npm-dist/...` is interpreted as a node_modules /
built-in module spec and throws 'Cannot find module'. The
version-rewrite step above already used `fs.readFileSync` (which IS
cwd-relative) so it worked; this step used `require` and didn't.

Add the `./` prefix.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-25 13:12:13 +03:00
..
build-image.yml distribution: address code-review findings before v0.1.0 2026-05-25 11:43:08 +03:00
release-npm.yml ci(release-npm): fix node require path in idempotent-skip helper 2026-05-25 13:12:13 +03:00