TypeScript icon indicating copy to clipboard operation
TypeScript copied to clipboard

Ensure GHA jobs fail fast in scripts

Open jakebailey opened this issue 2 years ago • 0 comments

GitHub Actions has a surprising default; scripts do not get pipefile and don't fail-fast when one command fails.

The documented workaround is to set the default to bash, which enables this behavior. See: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#exit-codes-and-error-action-preference

jakebailey avatar May 04 '23 23:05 jakebailey