Glad it helped you! Have fun with GitHub Actions now, there's so much you can do with them! An indicator is the amount of video I'm making on this topic 😅
What is that .mjs file? How are you calling it? I would expect you to have it as part of your workflow somehow, instead seems like It's auto triggering fails and passes??
mjs is just a particular version of js files, but that's out of the scope of the video. The instructions works with every js file anyway :) Tests are executed with ava as the test runner, but this also works with jest, vitest or any other testing framework. How they usually work is matching all files having as name "test" or "spec" or being inside a folder called __test__. This is configurable for each test runner anyway. The github action runs "npm run test" and picks up everything that is configured. Anyway, you can look at the repo: github.com/Balastrong/github-actions-video
Thank You! Between your answer and looking up the python equivalent workflow of what you were trying to do, eg: pytest w/ python it all started clicking
Well explained. I liked how you even made clear how you add and commits files at the same time :D
Thank you! If you're interested, I uploaded a dedicated video on git aliases: czcams.com/video/Uk4GnYoQx_I/video.html
this job failed show in workflow why .i run RDP
i can't believe this is exactly what i was looking for. Thank you!
That's great, you're welcome :D
Thanks ;) subscribed!
keep creating such videos ,
also learned something new today
Thank you and welcome! :D
So useful! Thank you!
Glad it helped you! Have fun with GitHub Actions now, there's so much you can do with them!
An indicator is the amount of video I'm making on this topic 😅
thank you man !
thanks man , you help a lot !!!
Glad to hear that, thank you :D
Feel free to join Discord if you have any question, I'll be happy to help!
whats the github extenssion you have in VSCode ?
Hey! It's called GitHub Pull Requests and Issues :)
What is that .mjs file? How are you calling it? I would expect you to have it as part of your workflow somehow, instead seems like It's auto triggering fails and passes??
mjs is just a particular version of js files, but that's out of the scope of the video. The instructions works with every js file anyway :)
Tests are executed with ava as the test runner, but this also works with jest, vitest or any other testing framework. How they usually work is matching all files having as name "test" or "spec" or being inside a folder called __test__. This is configurable for each test runner anyway.
The github action runs "npm run test" and picks up everything that is configured.
Anyway, you can look at the repo: github.com/Balastrong/github-actions-video
Thank You! Between your answer and looking up the python equivalent workflow of what you were trying to do, eg: pytest w/ python it all started clicking
I got a problem. My file in the root but it try to open /home/runner/work/my-repo name/my repo name/my file. I do not know how to do that😢😢
Btw can you say how are you getting suggestion on cmd prompt???
Heyy! I use a tool called fig.io, I also made a video about it: czcams.com/video/HNVB9Dro2S4/video.html
ur legend
Good video 👍
Thanks 👍
Thanks for this video. I tried it right away but the action seems to be running for ever. It is showing "build started 1h 10m ... Starting the job..."
Hey! If you run the tests in local do the command complete just fine? Feel free to link the repo so I can have a look :)
If you want to run and test your GitHub Actions in local, without commit and push every time, here's how: czcams.com/video/Ugonll0e2Os/video.html