-
Notifications
You must be signed in to change notification settings - Fork 152
duplicate check for github usernames in registry.yaml #124
Conversation
@haliliceylan thank you for the contribution. Do you mind putting this check into a function and adding a test for it? If you need help, I and (I am pretty sure) @bsoyka can help you |
I enforce Fatih's suggestion |
@esau-morais what do you mean by that? |
I'm just agreeing that it'd would be great to apply your suggestion |
I can move it to a separate function. I would love to write to tests ! Test scenarios can be as follows;
Is there a test written for CI Script as an example in this repository? |
Thank you. I wasn't sure whether you were applying the suggestion or just supporting the idea. Thanks for the explanation |
No, but I will set it up in a few hours |
I see that you already did 🚀 @haliliceylan |
I separated my function, also I created a separate file for my function. Because If I try to import the "check-registry.js" file, main() function is working and gives an error. So I created a new folder for registry file related checks then I put my script into it. I installed the jest package. I create a GitHub workflow file for when "ci" folder changes, it will run all tests under "ci" folder. idk is working or not; In my local I tried with "act" command (local github workflow simulator) and it seems ok |
oh i forget to add |
I fixed it now. I am merging it. Thank you |
fix #108