rescript-vscode icon indicating copy to clipboard operation
rescript-vscode copied to clipboard

Speed up `npm install` step on Linux ARM runners

Open mediremi opened this issue 6 months ago • 1 comments

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.

mediremi avatar May 20 '25 13:05 mediremi