diff --git a/.github/workflows/ci-master.yml b/.github/workflows/ci-master.yml index b672cb127c..f7a0f8f21a 100644 --- a/.github/workflows/ci-master.yml +++ b/.github/workflows/ci-master.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: - node-version: [14.x, 16.x] + node-version: [16.x] steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index 7059280552..d34d1f8552 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -51,22 +51,10 @@ jobs: secrets: 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: name: Calls success URL and notifies runs-on: ubuntu-latest - needs: [run-e2e-tests, run-e2e-tests-node-14] + needs: [run-e2e-tests] if: ${{ github.event.inputs.success-url != '' }} steps: - name: Notify Slack on failure diff --git a/packages/cli/BREAKING-CHANGES.md b/packages/cli/BREAKING-CHANGES.md index 624ddacb42..47bb59f918 100644 --- a/packages/cli/BREAKING-CHANGES.md +++ b/packages/cli/BREAKING-CHANGES.md @@ -2,6 +2,20 @@ 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 ### What changed? diff --git a/packages/cli/bin/n8n b/packages/cli/bin/n8n index 0591b1ef5f..92c38b416b 100755 --- a/packages/cli/bin/n8n +++ b/packages/cli/bin/n8n @@ -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); } diff --git a/packages/cli/package.json b/packages/cli/package.json index fd6045ed75..a171f3c3f4 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -54,7 +54,7 @@ "workflow" ], "engines": { - "node": ">=14.0.0" + "node": ">=16.9" }, "files": [ "bin",