Skip to content

Commit a78ef0a

Browse files
committed
Setting up test scripts in CI/CD
1 parent 7dbe468 commit a78ef0a

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,9 @@ jobs:
5050
run: npm test
5151
working-directory: ./app
5252

53-
- name: Terminate leftover processes
53+
- name: Force terminate leftover processes
5454
if: always()
5555
run: |
56-
# Use killall to terminate any Node.js processes that might be running
57-
killall node || true
56+
# Use pkill with SIGKILL to forcefully terminate any Node.js processes
57+
# The -9 flag corresponds to the SIGKILL signal
58+
pkill -9 -f node || true

0 commit comments

Comments
 (0)