Github actions's step is stuck on running

Hello
I have a github action which is written in typescript. I was testing it locally on my machine and it is working fine. However, when I run it on github, the step is stuck in running. Also, since we don’t get logs of the step until it is complete; I am unable to debug why is it stuck.
(Private repository (action))

Hi, sorry to hear about this issue.

One of the reasons this may be happening is that the Github runners have different hardware and software specs than your local machine, hence there might be some discrepancies on run results:

Additionally, you could try to add debug logs to see if that helps: