install/actions: Use standard optional error reporting
install/actions: Use standard optional error reporting

PR-URL: https://github.com/npm/npm/pull/13692/
Credit: da39a3ee5e6b4b0d3255bfef95601890afd80709@iarna
Reviewed-By: da39a3ee5e6b4b0d3255bfef95601890afd80709@zkat

evocateur/npm,evocateur/npm,evocateur/npm