build(nodejs): enforce Node.js >=20 in engines and .nvmrc

reason: https://github.com/tangly1024/NotionNext/pull/3374#issuecomment-2879323753

BREAKING CHANGE:
- Node.js 20 is now the minimum required version
- Updated .nvmrc and package.json "engines"
- Please upgrade local environment or CI setup
This commit is contained in:
anime
2025-05-14 17:07:44 +08:00
parent 1f9036c169
commit 35714531c7
3 changed files with 5 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
ARG NOTION_PAGE_ID
ARG NEXT_PUBLIC_THEME
FROM node:18-alpine3.18 AS base
FROM node:20-alpine AS base
# 1. Install dependencies only when needed
FROM base AS deps