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(core): Enforce nodejs version consistently #11323

Merged
merged 2 commits into from
Oct 21, 2024

Conversation

netroy
Copy link
Member

@netroy netroy commented Oct 21, 2024

Summary

Instead of maintaining 2 separate sources of truth about what versions of nodejs n8n supports, this PR updates bin/n8n to re-use the engines compatibility check from package.json.

Related Linear tickets, Github issues, and Community forum posts

Fixes #11313
CAT-258

Review / Merge checklist

  • PR title and summary are descriptive. (conventions)
  • Docs updated or follow-up ticket created.
  • Tests included.
  • PR Labeled with release/backport (if the PR is an urgent fix that needs to be backported)

@n8n-assistant n8n-assistant bot added core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team labels Oct 21, 2024
ivov
ivov previously approved these changes Oct 21, 2024
packages/cli/bin/n8n Outdated Show resolved Hide resolved
packages/cli/bin/n8n Outdated Show resolved Hide resolved
Copy link

cypress bot commented Oct 21, 2024

n8n    Run #7472

Run Properties:  status check passed Passed #7472  •  git commit 0fa2e8ca85: 🌳 master 🖥️ browsers:node18.12.0-chrome107 🤖 PR User 🗃️ e2e/*
Project n8n
Branch Review master
Run status status check passed Passed #7472
Run duration 04m 25s
Commit git commit 0fa2e8ca85: 🌳 master 🖥️ browsers:node18.12.0-chrome107 🤖 PR User 🗃️ e2e/*
Committer कारतोफ्फेलस्क्रिप्ट™
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 2
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 458
View all changes introduced in this branch ↗︎

Copy link
Contributor

✅ All Cypress E2E specs passed

Copy link
Contributor

✅ All Cypress E2E specs passed

@netroy netroy merged commit 0fa2e8c into master Oct 21, 2024
34 checks passed
@netroy netroy deleted the CAT-258-enforce-consistent-nodejs-version branch October 21, 2024 15:42
@github-actions github-actions bot mentioned this pull request Oct 24, 2024
@janober
Copy link
Member

janober commented Oct 24, 2024

Got released with [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team Released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Specify a compatible Node engine version in package.json
3 participants