Skip to content

Preserve none zero exit code #6925

@zhigang1992

Description

@zhigang1992

I want to request a feature

Preserve none zero exit code.

I'm trying to create a Github Action.

https://developer.github.com/actions/creating-github-actions/accessing-the-runtime-environment/#exit-codes-and-statuses

To filter actions, it needs 78 as exit code:

index.js

const process = require('process');
process.exit(78)

npm start will yield 78, but yarn start will yield 1.

screen shot 2019-01-15 at 8 44 31 pm

Is there an option that already does this?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions