nit: This `npm install semver` installs all dependencies anyway (npm issue: https://github.com/npm/cli/issues/3023). This could consider just running `npm ci` OR also installing semver globally (untested): `npm install -g semver`. The latter, if it works, would avoid installing ~800MB of deps.