Using editorconfig-checker within ci should give non-zero if download fails.
node version: lts/erbium -> v12.16.1
$ editorconfig-checker -exclude 'site|node_modules'
(node:124) UnhandledPromiseRejectionWarning: FetchError: request to https://github.com/editorconfig-checker/editorconfig-checker/releases/download//2.1.0/ec-linux-amd64.tar.gz failed, reason: connect ETIMEDOUT 140.82.121.4:443
at ClientRequest.<anonymous> (/builds/siemens/api/node_modules/node-fetch/lib/index.js:1455:11)
at ClientRequest.emit (events.js:315:20)
at TLSSocket.socketErrorListener (_http_client.js:426:9)
at TLSSocket.emit (events.js:315:20)
at emitErrorNT (internal/streams/destroy.js:92:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
(node:124) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:124) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Done in 130.04s.
Using editorconfig-checker within ci should give non-zero if download fails.
node version: lts/erbium -> v12.16.1