chore: update nodejs to 22 in an attempt to fix undici errors (#1229)

* chore: update nodejs to 22 in an attempt to fix undici errors

This is an attempt to fix the undici errors introduced after the switch
from axios to native fetch. The decision was made as it native fetch on
node 20 seems to be "experimental" and
> since native fetch is no longer experimental since Node 21

* chore: increase the required node version

* build: update nodejs version to 22

* chore: update nodejs version to 22

* chore: update @types/node to v22

* chore(gen-docs): update the gen-docs node engine requirement to 22
This commit is contained in:
Fallenbagel
2025-01-09 18:24:38 +08:00
committed by GitHub
parent d71ee58302
commit 24c6208a3c
10 changed files with 1442 additions and 397 deletions

View File

@@ -1,4 +1,4 @@
FROM node:20-alpine
FROM node:22-alpine
COPY . /app
WORKDIR /app