Use proper npm arguments and clean its inherited env vars (#3419)

Previously, `npm i` command could take too much time to download
dependencies, which was caused by wrong flags used.

Since we run `node` and `npm` processes ourselves and try to isolate
them from potentially "bad" user configs, it seems safer to remove any
ways to re-configure the tools via env vars, so strip off those too.

Release Notes:

- N/A
4a01726e5eKirill Bulatov committed on 11/28/2023, 5:14:10 PM· committed by GitHubparents179ad035451db9
1 file changedLine totals unavailable