https://cypress.io logo
Github Actions
# i-need-help
f
Hi this is my first time using github actions and I followed the instructions of cypress documentations Notes - I have a repo where I'm practicing E2E test - I'm using yarn instead of npm -this is the yml file that cypress told me to copy and paste (I only change the "npm start" for "yarn run start") - for the package.json I saw a example on cypress documentation Finally this is the error that github tell me. I followed the instructions but now I'm really lost 😦

https://cdn.discordapp.com/attachments/1106650790766067823/1106650790996742295/image.png

https://cdn.discordapp.com/attachments/1106650790766067823/1106650791252598844/image.png

https://cdn.discordapp.com/attachments/1106650790766067823/1106650791516848151/image.png

m
You have no server defined, so
my-server
cannot work. Which instructions were you trying to follow?
f
m
I see. You are following instructions which are intended for somebody experienced with Cypress, who already has a server which they know about. "my-server" just stands for somebody's own server and it would need to be replaced by a real name.
If you want a better introduction to using github-actions, then follow https://docs.cypress.io/guides/continuous-integration/github-actions instead.
f
it does not say anything about the package.json file, do I need to delete the file?
m
If you follow those new instructions you start again completely new by forking and cloning the repository https://github.com/cypress-io/cypress-example-kitchensink. It has everything you need. Read the README file in the repository and it tells you what to do.
Good luck! 🍀
g
I would suggest studying Cypress and how to use it with GitHub Actions using a cohesive course like my paid https://cypress.tips/courses/swag-store