ci(e2e): run npm/npx via corepack, not the absent npm24 #330
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/PMS-462-e2e-corepack-npm"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The opensuse-base runner image ships only node24 plus corepack and bun as
the JS toolchain. It has no standalone npm: the bare npm/npx are
libalternatives wrappers whose target /usr/bin/npm-default is missing
(bare npm ci exits 255), and the versioned npm24/npx24 binaries PMS-429
reached for are not installed at all (npm24: command not found, exit 127).
corepack IS present and provisions npm 11.x on demand, so invoke npm and
npx through corepack while keeping the concrete node24 binary for the
.mjs gate scripts. Verified in ghcr.io/niceguyit/opensuse-base:latest-leap-16.0:
corepack npm ci resolves and corepack npx playwright runs non-interactively.
#PMS-462