-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
fix: [node npm] service has bad colors #4809 #4810
Conversation
Instead of getting the current version (which can be an odd version which is unstable and will never be LTS), I get all the current LTS versions and make sure that the package matches to all of them |
The dockercloud tests failed for some reason and the link is broken so I can't check why... |
Don't worry about that one, it's unrelated #4808 |
The failing service test is due to changes in this PR though. Can you please take a look whenever you get a chance @regevbr NodeVersion [live] gets the node version of passport [ GET /passport.json ] - [ GET /passport.json ]
AssertionError: expected [Function] to not throw an error but 'TypeError: Invalid comparator: intermediate' was thrown |
@calebcartwright this is actually doesn't seem related to me - the message the live tests return is "credentials are misconfigured" and it is also mentioned in the link you sent me. |
@calebcartwright I managed to find the reason for this failure, and it is not due to my changes - one or both of NPM_ORIGINS and NPM_TOKEN env variables are missing in the ci process... |
Yeah, seems like the node failure was spurious. Thanks for checking! Will take a closer look at this PR over the weekend |
@calebcartwright I have implemented a new badge. |
seems like tests are failing due to issues with github integration and not related to my code |
Please note I also changed the label to be |
So the other npm badges are still using the |
They will not be affected |
@calebcartwright sorry for the short answer previously. Even if in the future they will support tag, they will use the extended endpoint, but that is what they should use, otherwise they will get false data. |
No worries! You answered my question anyway. Will gives this a final lookover later today |
@calebcartwright thanks for your review, I have revised the code accordingly |
.intercept(mockCurrentSha(13)) | ||
.expectBadge({ label: 'node', message: `12`, color: `yellow` }) | ||
|
||
t.create("gets the tagged release's node version version of ionic") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm a little surprised that prettier didn't flag the double quotes here (and below) 🤔
Nevermind I see why now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Thank @calebcartwright for the patience and thorough review! |
We completely forgot to add text documentations to the badges. I will create a new pr |
Fix #4809