Mark job as failed on error (#14)

* fix: set failed on subprocess error

* chore: update dependencies
This commit is contained in:
Andrei Ioniță 2021-06-20 08:35:43 +01:00 committed by GitHub
commit 9eab20634f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
39 changed files with 281 additions and 1118 deletions

View file

@ -0,0 +1,11 @@
# 2.1.0
## TypeScript types
- Add [TypeScript definitions](src/main.d.ts)
# 2.0.0
## Breaking changes
- Minimal supported Node.js version is now `10.17.0`

22
node_modules/human-signals/README.md generated vendored
View file

@ -105,8 +105,8 @@ The list of supported signals
### action
_Type_: `string`<br>_Enum_: `'terminate'`, `'core'`, `'ignore'`, `'pause'`,
`'unpause'`
_Type_: `string`\
_Enum_: `'terminate'`, `'core'`, `'ignore'`, `'pause'`, `'unpause'`
What is the default action for this signal when it is not handled.
@ -119,7 +119,8 @@ Whether the signal's default action cannot be prevented. This is `true` for
### standard
_Type_: `string`<br>_Enum_: `'ansi'`, `'posix'`, `'bsd'`, `'systemv'`, `'other'`
_Type_: `string`\
_Enum_: `'ansi'`, `'posix'`, `'bsd'`, `'systemv'`, `'other'`
Which standard defined that signal.
@ -146,10 +147,19 @@ button (pencil icon) and suggest a correction.
If you would like to help us fix a bug or add a new feature, please check our
[guidelines](CONTRIBUTING.md). Pull requests are welcome!
<!-- Thanks go to our wonderful contributors: -->
Thanks go to our wonderful contributors:
<!-- ALL-CONTRIBUTORS-LIST:START -->
<!-- prettier-ignore -->
<table><tr><td align="center"><a href="https://twitter.com/ehmicky"><img src="https://avatars2.githubusercontent.com/u/8136211?v=4" width="100px;" alt="ehmicky"/><br /><sub><b>ehmicky</b></sub></a><br /><a href="https://github.com/ehmicky/human-signals/commits?author=ehmicky" title="Code">💻</a> <a href="#design-ehmicky" title="Design">🎨</a> <a href="#ideas-ehmicky" title="Ideas, Planning, & Feedback">🤔</a> <a href="https://github.com/ehmicky/human-signals/commits?author=ehmicky" title="Documentation">📖</a></td></tr></table>
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
<tr>
<td align="center"><a href="https://twitter.com/ehmicky"><img src="https://avatars2.githubusercontent.com/u/8136211?v=4" width="100px;" alt=""/><br /><sub><b>ehmicky</b></sub></a><br /><a href="https://github.com/ehmicky/human-signals/commits?author=ehmicky" title="Code">💻</a> <a href="#design-ehmicky" title="Design">🎨</a> <a href="#ideas-ehmicky" title="Ideas, Planning, & Feedback">🤔</a> <a href="https://github.com/ehmicky/human-signals/commits?author=ehmicky" title="Documentation">📖</a></td>
<td align="center"><a href="http://www.electrovir.com"><img src="https://avatars0.githubusercontent.com/u/1205860?v=4" width="100px;" alt=""/><br /><sub><b>electrovir</b></sub></a><br /><a href="https://github.com/ehmicky/human-signals/commits?author=electrovir" title="Code">💻</a></td>
</tr>
</table>
<!-- markdownlint-enable -->
<!-- prettier-ignore-end -->
<!-- ALL-CONTRIBUTORS-LIST:END -->

52
node_modules/human-signals/build/src/main.d.ts generated vendored Normal file
View file

@ -0,0 +1,52 @@
/**
* Object whose keys are signal names and values are signal objects.
*/
export declare const signalsByName: { [signalName: string]: Signal }
/**
* Object whose keys are signal numbers and values are signal objects.
*/
export declare const signalsByNumber: { [signalNumber: string]: Signal }
export declare type SignalAction =
| 'terminate'
| 'core'
| 'ignore'
| 'pause'
| 'unpause'
export declare type SignalStandard =
| 'ansi'
| 'posix'
| 'bsd'
| 'systemv'
| 'other'
export declare type Signal = {
/**
* Standard name of the signal, for example 'SIGINT'.
*/
name: string
/**
* Code number of the signal, for example 2. While most number are cross-platform, some are different between different OS.
*/
number: number
/**
* Human-friendly description for the signal, for example 'User interruption with CTRL-C'.
*/
description: string
/**
* Whether the current OS can handle this signal in Node.js using process.on(name, handler). The list of supported signals is OS-specific.
*/
supported: boolean
/**
* What is the default action for this signal when it is not handled.
*/
action: SignalAction
/**
* Whether the signal's default action cannot be prevented. This is true for SIGTERM, SIGKILL and SIGSTOP.
*/
forced: boolean
/**
* Which standard defined that signal.
*/
standard: SignalStandard
}

View file

@ -1,27 +1,27 @@
{
"_from": "human-signals@^1.1.1",
"_id": "human-signals@1.1.1",
"_from": "human-signals@^2.1.0",
"_id": "human-signals@2.1.0",
"_inBundle": false,
"_integrity": "sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw==",
"_integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==",
"_location": "/human-signals",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "human-signals@^1.1.1",
"raw": "human-signals@^2.1.0",
"name": "human-signals",
"escapedName": "human-signals",
"rawSpec": "^1.1.1",
"rawSpec": "^2.1.0",
"saveSpec": null,
"fetchSpec": "^1.1.1"
"fetchSpec": "^2.1.0"
},
"_requiredBy": [
"/execa"
],
"_resolved": "https://registry.npmjs.org/human-signals/-/human-signals-1.1.1.tgz",
"_shasum": "c5b1cd14f50aeae09ab6c59fe63ba3395fe4dfa3",
"_spec": "human-signals@^1.1.1",
"_where": "/Users/anton/dev/action/node_modules/execa",
"_resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz",
"_shasum": "dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0",
"_spec": "human-signals@^2.1.0",
"_where": "/Users/andrei/Projects/forks/deployphp-action/node_modules/execa",
"author": {
"name": "ehmicky",
"email": "ehmicky@gmail.com",
@ -35,20 +35,19 @@
"deprecated": false,
"description": "Human-friendly process signals",
"devDependencies": {
"@ehmicky/dev-tasks": "^0.30.48",
"ajv": "^6.10.2",
"ava": "^2.4.0",
"fast-deep-equal": "^2.0.1",
"@ehmicky/dev-tasks": "^0.31.9",
"ajv": "^6.12.0",
"ava": "^3.5.0",
"gulp": "^4.0.2",
"husky": "^3.0.9",
"test-each": "^1.7.2"
"husky": "^4.2.3",
"test-each": "^2.0.0"
},
"directories": {
"lib": "src",
"test": "test"
},
"engines": {
"node": ">=8.12.0"
"node": ">=10.17.0"
},
"files": [
"build/src",
@ -92,5 +91,6 @@
"scripts": {
"test": "gulp test"
},
"version": "1.1.1"
"types": "build/src/main.d.ts",
"version": "2.1.0"
}