Skip to content

Commit 8f11dc2

Browse files
committed
chore(node): update node version to 20.19 to fix the strip-ansi 7.x loading issue
Refer to: hexojs/hexo#5674
1 parent 872f23d commit 8f11dc2

File tree

4 files changed

+2
-30
lines changed

4 files changed

+2
-30
lines changed

.github/workflows/pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Use Node.js
2525
uses: actions/setup-node@v4
2626
with:
27-
node-version: '20.10.0'
27+
node-version: '20.19'
2828

2929
- name: Cache NPM dependencies
3030
uses: actions/cache@v4

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
lts/iron
1+
20.19

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
"pnpm": "^9.0"
88
},
99
"scripts": {
10-
"postinstall": "cp ./patch/hexo/plugins/console/list/common.js ./node_modules/.pnpm/hexo@8.1.1_chokidar@3.6.0/node_modules/hexo/dist/plugins/console/list/common.js",
1110
"build": "hexo generate",
1211
"clean": "hexo clean",
1312
"deploy": "hexo deploy",

patch/hexo/plugins/console/list/common.js

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)