mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +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
2
.github/workflows/ci-master.yml
vendored
2
.github/workflows/ci-master.yml
vendored
@@ -13,7 +13,7 @@ jobs:
|
|||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [14.x, 16.x]
|
node-version: [16.x]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|||||||
14
.github/workflows/e2e-tests.yml
vendored
14
.github/workflows/e2e-tests.yml
vendored
@@ -51,22 +51,10 @@ jobs:
|
|||||||
secrets:
|
secrets:
|
||||||
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
|
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
|
||||||
|
|
||||||
run-e2e-tests-node-14:
|
|
||||||
name: E2E [Electron/Node 14]
|
|
||||||
uses: ./.github/workflows/e2e-reusable.yml
|
|
||||||
if: ${{ github.event_name == 'schedule' }}
|
|
||||||
with:
|
|
||||||
branch: ${{ github.event.inputs.branch || 'master' }}
|
|
||||||
user: ${{ github.event.inputs.user || 'schedule' }}
|
|
||||||
spec: ${{ github.event.inputs.spec || 'e2e/*' }}
|
|
||||||
run-env: base:14.21.1
|
|
||||||
secrets:
|
|
||||||
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
|
|
||||||
|
|
||||||
calls-success-url-notify:
|
calls-success-url-notify:
|
||||||
name: Calls success URL and notifies
|
name: Calls success URL and notifies
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [run-e2e-tests, run-e2e-tests-node-14]
|
needs: [run-e2e-tests]
|
||||||
if: ${{ github.event.inputs.success-url != '' }}
|
if: ${{ github.event.inputs.success-url != '' }}
|
||||||
steps:
|
steps:
|
||||||
- name: Notify Slack on failure
|
- name: Notify Slack on failure
|
||||||
|
|||||||
@@ -2,6 +2,20 @@
|
|||||||
|
|
||||||
This list shows all the versions which include breaking changes and how to upgrade.
|
This list shows all the versions which include breaking changes and how to upgrade.
|
||||||
|
|
||||||
|
## 0.223.0
|
||||||
|
|
||||||
|
### What changed?
|
||||||
|
|
||||||
|
The minimum Node.js version required for n8n is now v16.
|
||||||
|
|
||||||
|
### When is action necessary?
|
||||||
|
|
||||||
|
If you're using n8n via npm or PM2 or if you're contributing to n8n.
|
||||||
|
|
||||||
|
### How to upgrade:
|
||||||
|
|
||||||
|
Update the Node.js version to v16 or above.
|
||||||
|
|
||||||
## 0.214.0
|
## 0.214.0
|
||||||
|
|
||||||
### What changed?
|
### What changed?
|
||||||
|
|||||||
@@ -21,10 +21,10 @@ if (process.argv.length === 2) {
|
|||||||
const nodeVersion = process.versions.node;
|
const nodeVersion = process.versions.node;
|
||||||
const nodeVersionMajor = require('semver').major(nodeVersion);
|
const nodeVersionMajor = require('semver').major(nodeVersion);
|
||||||
|
|
||||||
if (![14, 16, 18].includes(nodeVersionMajor)) {
|
if (![16, 18].includes(nodeVersionMajor)) {
|
||||||
console.log(`
|
console.log(`
|
||||||
Your Node.js version (${nodeVersion}) is currently not supported by n8n.
|
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);
|
process.exit(1);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -54,7 +54,7 @@
|
|||||||
"workflow"
|
"workflow"
|
||||||
],
|
],
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=14.0.0"
|
"node": ">=16.9"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"bin",
|
"bin",
|
||||||
|
|||||||
Reference in New Issue
Block a user