Skip to content

Fix CI: bump setup-node to Node 22 for danger-js install - #665

Merged
f-meloni merged 2 commits into
danger:masterfrom
DylanBettermannDD:db/fix-ci-node22-for-danger-js
Aug 22, 2026
Merged

Fix CI: bump setup-node to Node 22 for danger-js install#665
f-meloni merged 2 commits into
danger:masterfrom
DylanBettermannDD:db/fix-ci-node22-for-danger-js

Conversation

@DylanBettermannDD

Copy link
Copy Markdown
Contributor

Summary

  • All CI jobs currently fail at "Install danger-js" (yarn global add danger) with: content-type@3.0.0: The engine "node" is incompatible with this module. Expected version ">=22". Got "20.20.2"
  • yarn global add danger always resolves the latest danger-js, and its content-type dependency now requires Node >=22, but every job installs Node 20 via setup-node
  • Bump setup-node to Node 22 across all 5 CI job definitions to match

Test plan

  • CI passes on this PR (all jobs get past the "Install danger-js" step)

yarn global add danger installs the latest danger-js, whose
content-type dependency now requires Node >=22. Every CI job still
installed Node 20 via setup-node, so every job failed at the
'Install danger-js' step.
@f-meloni
f-meloni merged commit 0f663eb into danger:master Aug 22, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants