Skip to content

Comments

ci: Fail-fast "npm ci" if deps require unsupported node version#488

Merged
maxreichmann merged 1 commit intomainfrom
ci-node-engine-strict
Nov 3, 2025
Merged

ci: Fail-fast "npm ci" if deps require unsupported node version#488
maxreichmann merged 1 commit intomainfrom
ci-node-engine-strict

Conversation

@maxreichmann
Copy link
Member

When upgrading a dependency to a newer version, it might require a different node version than before which could be unsupported by the repo. Unfortunately, this could be easily overseen.

This PR adds the flag --engine-strict to the dependency installation step during the GH Actions job. Incase such a version requirement change, this flag will now fail-fast the job which should attract attention.

@maxreichmann maxreichmann requested review from a team and removed request for a team November 3, 2025 09:16
@maxreichmann maxreichmann force-pushed the ci-node-engine-strict branch from a573cfb to 118e2aa Compare November 3, 2025 09:19
@maxreichmann maxreichmann requested a review from a team November 3, 2025 09:25
@maxreichmann maxreichmann merged commit 007b02e into main Nov 3, 2025
16 checks passed
@maxreichmann maxreichmann deleted the ci-node-engine-strict branch November 3, 2025 09:47
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