Skip to content

[INTERNAL] Fail-fast "npm ci" if deps require unsupported node version#756

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

[INTERNAL] Fail-fast "npm ci" if deps require unsupported node version#756
maxreichmann merged 1 commit into
v4from
ci-node-engine-strict

Conversation

@maxreichmann
Copy link
Copy Markdown
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.

@coveralls
Copy link
Copy Markdown

coveralls commented Oct 28, 2025

Coverage Status

coverage: 93.066% (-0.2%) from 93.262%
when pulling 15e0a3c on ci-node-engine-strict
into dd36b87 on v4.

@maxreichmann maxreichmann requested a review from a team October 28, 2025 15:07
@maxreichmann maxreichmann changed the title ci: Fail-fast "npm ci" if deps require unsupported node version [INTERNAL] Fail-fast "npm ci" if deps require unsupported node version Oct 28, 2025
@maxreichmann maxreichmann force-pushed the ci-node-engine-strict branch from 0169725 to f70deae Compare October 28, 2025 15:34
@maxreichmann maxreichmann force-pushed the ci-node-engine-strict branch from f70deae to 15e0a3c Compare November 3, 2025 09:03
@maxreichmann
Copy link
Copy Markdown
Member Author

Rebased

@maxreichmann maxreichmann enabled auto-merge (squash) November 3, 2025 09:04
@maxreichmann maxreichmann merged commit 24779ed into v4 Nov 3, 2025
17 checks passed
@maxreichmann maxreichmann deleted the ci-node-engine-strict branch November 3, 2025 09:06
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.

3 participants