-
Notifications
You must be signed in to change notification settings - Fork 319
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does the server started with the start parameter shut down at the end? #360
Comments
Seeing similar behavior for one of our GHA workflows. Imho the action should just clean up processes rather than leaving them dangling and 馃檹馃徎 the GHA will clean up all leftovers. Edit: likely GHAs only clean up processes until the entire workflow is complete rather than in between steps!? |
WorkaroundYeah I think the processes don't end - we're trying to start the same server right afterwards, and the port is blocked. In the meantime, our (somewhat overkill) workaround is: - run: killall node Edit: Wonder if this is a general thing with some things running on GitHub Actions (maybe Corepack?): |
Or more finegrained, if your server runs on 8080
|
This is imho a real 'documentation bug' - here it says
and
both lines seem to contradict eachother. |
Is this just a documentation issue for you or do you have an example workflow using the current version of the action ( |
@MikeMcC399 - no, I'm killing the server now and that works. I didn't read the note until I found out the first line was not true :-) So it's just a documentation issue. |
Probably if there was a need to start a server a second time, then I would put it into a separate job rather than a step in the same job. I'm not sure if the original issue from 2 years ago is the optimal way to use the action. In any case the documentation could be made more precise. |
I haven't looked at this too closely, but I think in the original example I would have just deleted the second |
|
馃帀 This issue has been resolved in version 5.8.0 馃帀 The release is available on: Your semantic-release bot 馃摝馃殌 |
Seems from https://github.com/bahmutov/cypress-grep-example results that not:
The smoke tests pass just fine, but the second action launch is showing an error
The text was updated successfully, but these errors were encountered: