From ae8f3bde50f2fef35010056eb653b100880ed1a6 Mon Sep 17 00:00:00 2001 From: jiahui92 <547652008@qq.com> Date: Sun, 18 Feb 2024 20:53:10 +0800 Subject: [PATCH] add comment --- .github/workflows/node.js.yml | 1 + README.md | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 42f106e..1f144a3 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -28,6 +28,7 @@ jobs: strategy: matrix: + # 本项目的hexo版本较旧,依赖旧版本的nodev12 (https://zhuanlan.zhihu.com/p/491881992) node-version: [12.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ environment: diff --git a/README.md b/README.md index 19c1a82..f925120 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,7 @@ ## dev +本项目依赖的hexo版本比较低,`npm run build`时依赖nodev12,否则会导致build出来的文件全是空白 ```sh npm i npm start