Skip to content

Conversation

@kanadgupta
Copy link
Contributor

@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 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
"@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

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants