8000 GHA: Node is exiting with 0 in subprocess even when it errors · davedoesdev/python-jwt@03e5642 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Nov 13, 2023. It is now read-only.

Commit 03e5642

Browse files
committed
GHA: Node is exiting with 0 in subprocess even when it errors
1 parent f28924b commit 03e5642

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ jobs:
2323
- name: Use Node ${{ matrix.node-version }}
2424
uses: actions/setup-node@v2
2525

26+
- name: Test Node exit status
27+
run: node -e 'throw new Error("foo")' || echo $?
28+
2629
- name: Install requirements
2730
run: |
2831
pip install -r requirements.txt

0 commit comments

Comments
 (0)
0