github actions/setup-node v2.5.1
Fix logic of error handling for npm warning and uncaught exception

latest releases: v4.1.0, v4, v4.0.4...
2 years ago

In scope of this release we fix logic of error handling related to caching (#358) and (#359).

In the previous behaviour we relied on stderr output to throw error. The warning messages from package managers can be written to the stderr's output. For now the action will throw an error only if exit code differs from zero. Besides, we add logic to сatch and log unhandled exceptions.

Don't miss a new setup-node release

NewReleases is sending notifications on new releases.