mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
ci: Drop support for Node.js 14 (#5835)
Node.js 14 goes EOL on 2023-04-30, and support for it should be dropped. https://github.com/nodejs/Release#release-schedule
This commit is contained in:
committed by
GitHub
parent
dc7e8c64e7
commit
9e9003bf13
@@ -21,10 +21,10 @@ if (process.argv.length === 2) {
|
||||
const nodeVersion = process.versions.node;
|
||||
const nodeVersionMajor = require('semver').major(nodeVersion);
|
||||
|
||||
if (![14, 16, 18].includes(nodeVersionMajor)) {
|
||||
if (![16, 18].includes(nodeVersionMajor)) {
|
||||
console.log(`
|
||||
Your Node.js version (${nodeVersion}) is currently not supported by n8n.
|
||||
Please use Node.js v14, v16 (recommended), or v18 instead!
|
||||
Please use Node.js v16 (recommended), or v18 instead!
|
||||
`);
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user