ci: Add support for Node.js 18 (#5793)

* ci: Start supporting Node.js 18

Node.js 18 became the active LTS on 2022-10-25, and Node.js 16 went into maintenance mode.
https://github.com/nodejs/Release#release-schedule

We should also slowly deprecate node 16 support, [as support for it is ends much earlier now, due to support for openssl 1.1.1 ending](https://nodejs.org/en/blog/announcements/nodejs16-eol).

* Remove hashing algorithms that are not available in newer node.js/openssl

- RSA-MD4
- RSA-MDC2
- md4
- md4WithRSAEncryption
- mdc2
- mdc2WithRSA

* in e2e tests, resolve `localhost` to ipv4 instead of ipv6
This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-06-02 13:23:28 +00:00
committed by GitHub
parent e8b51c8da9
commit 968b733fd6
20 changed files with 162 additions and 161 deletions

View File

@@ -1,4 +1,4 @@
ARG NODE_VERSION=16
ARG NODE_VERSION=18
# 1. Create an image to build n8n
FROM n8nio/base:${NODE_VERSION} as builder