You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
npm install can silently rewrite package-lock.json and resolves the latest versions matching each ^-range; npm ci uses the lockfile exactly and fails on drift.
Fix
Swap all three run: npm install lines to run: npm ci. Prioritize release.yml:45 — a non-reproducible install in the publish path is the most consequential of the three.
Risk
Medium. The release occurrence is the most consequential — npm install in the publish path can resolve a drifted (typosquatted or compromised) transitive dep and ship it to the registry before lockfile divergence is caught. The two CI occurrences are lower stakes.
Activity
fix(ci): replace npm install with npm ci in all workflows (#257)