-
Notifications
You must be signed in to change notification settings - Fork 354
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cypress always times out on Github Actions [Help Request] #534
Comments
I ran into this issue as well. Setting the node version to
|
Unfortunately I am also experiencing this issue. I wanted to run Cypress on Node v18. This also caused a timeout. LTS version 16.15.0 is working. One of the differences I see in logs (Before there was also a network address.):
Full error log:
Setup package.json:
devDependencies:
If you want to know more scripts and package versions, let me know. |
I also get a time out on my job whenever I try to set the node version to 18. It works fine on 14. |
Same for me, nothing happens on 18 but works fine in 16.16 |
Same for me. Solved it by replacing From the Cypress changelog:
|
Did you end up solving this? I have Cypress running fine on local but it times out in the CI. I'm using node 16 for github actions. |
See cypress-io/github-action#534 (comment) (thanks @charlie-tf ) The default webpack configuration's host value was changed from localhost to 127.0.0.1 to support the Node 17+ changes with how DNS names are resolved. Addressed in cypress-io/cypress#21430.
This worked for me too. |
|
The issue was caused by a configuration change by webpack. See cypress-io/github-action#534
There are related suggestions now added to the documentation https://github.com/cypress-io/github-action/blob/master/README.md#wait-on-with-nodejs-18 |
My flow was working fine and I have not changed any settings, but now it times out on every PR. I look through the commits and it sure seems like nothing has changed, anyway.
Outside of opening a PR without my cypress.yml, and then putting it back in, is there anything else I can check to see why it wouldn't run? I have tried the various flavors of cypress 9.x.x and that has no impact.
Thanks for any insight.
Here is my YML
The text was updated successfully, but these errors were encountered: