rescript-vscode
rescript-vscode copied to clipboard
Speed up `npm install` step on Linux ARM runners
npm ci typically takes ~10s, but for ubuntu-24.04-arm it can take up to 10 minutes.
By using npm i --timing, I managed to pinpiont the source of the issue to analysis/reanalyze/examples/deadcode and analysis/reanalyze/examples/termination.
These folders were using ReScript v10, and for some reason its postinstall script takes much longer on Linux ARM.
Updating their version of ReScript to 11.1.4 fixed the issue and npm ci is as fast as for other runners.