It would be important that a postinstall consider the project specific configurations.
Inside a CI Pipeline we does not have root privileges - so we only can change the local .npmrc.
But the npm install of OS specific esbuild binary does not use this settings.