ci: Switch to Node.js 20 by default. Add initial support for Node.js 22 (#9501)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-05-24 12:32:50 +02:00
committed by GitHub
parent a58be175cc
commit 6ea8607716
18 changed files with 50 additions and 60 deletions

View File

@@ -1,4 +1,4 @@
ARG NODE_VERSION=18
ARG NODE_VERSION=20
# 1. Use a builder step to download various dependencies
FROM node:${NODE_VERSION}-alpine as builder

View File

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

View File

@@ -1,4 +1,4 @@
ARG NODE_VERSION=18
ARG NODE_VERSION=20
FROM n8nio/base:${NODE_VERSION}
ARG N8N_VERSION