When GitHub is stucked running tests

If GitHub actions is stucked running tests, make sure that there is no --watch flag on package.json:

"scripts": {
    "dev": "next dev",
    "build": "next build && next export && cp posts/_data.js functions/hosting/_data.js",
    "start": "next start",
    "lint": "next lint",
    "test": "jest -̶-̶w̶a̶t̶c̶h̶" 

Hi, I'm Erik, an engineer from Barcelona. If you like the post or have any comments, say hi.