Skip to content

Commit 2420b09

Browse files
mymldengbo11
authored andcommitted
fix: github pages build failure
修复因nodejs版本过低导致github pages构建失败
1 parent ac2f9a2 commit 2420b09

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/pages.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Deploy to GitHub Pages
22
on:
33
push:
44
branches: ["master"]
5+
pull_request:
56
workflow_dispatch:
67
permissions:
78
contents: read
@@ -17,7 +18,7 @@ jobs:
1718
- uses: actions/checkout@v4
1819
- uses: actions/setup-node@v4
1920
with:
20-
node-version: 18
21+
node-version: 24
2122
cache: "yarn"
2223
- name: Install Depend
2324
run: yarn install

0 commit comments

Comments
 (0)