Skip to content
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: swap out @npmcli/ci-detect for ci-info #667

Merged
merged 8 commits into from
Nov 14, 2022

Conversation

kanadgupta
Copy link
Member

@kanadgupta kanadgupta commented Nov 8, 2022

🧰 Changes

I opened npm/ci-detect#47 to address this, but per #664 it looks like our CI detection has some imperfections. ci-info seems to be more popular and well-maintained. We looked at this package ages ago but I was initially hesitant because it is a bit annoying to write tests with it but I got that figured out.

Update: it looks like the npm CLI team is planning on deprecating their package in favor of ci-info, so we should probably do this anyways.

🧬 QA & Testing

No material changes here except perhaps better CI detection. Do tests pass?

@kanadgupta kanadgupta added bug Something isn't working dependencies Pull requests that update a dependency file labels Nov 8, 2022
@kanadgupta kanadgupta marked this pull request as ready for review November 14, 2022 17:33
@kanadgupta kanadgupta requested a review from erunion November 14, 2022 17:33
@@ -76,7 +76,6 @@
"@types/jsonpath": "^0.2.0",
"@types/mime-types": "^2.1.1",
"@types/node-fetch": "^2.6.2",
"@types/npmcli__ci-detect": "^2.0.0",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚮

@kanadgupta kanadgupta merged commit 6cc1f01 into main Nov 14, 2022
@kanadgupta kanadgupta deleted the ci-detection-package-swap branch November 14, 2022 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants