Skip to content

Commit b9bbdf1

Browse files
committed
build!: upgrade node version for ci
1 parent 23f5c17 commit b9bbdf1

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/deploy-ghpage.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ jobs:
1616
steps:
1717
# from: https://github.com/actions/checkout
1818
- name: 本工作流
19-
uses: actions/checkout@master
19+
uses: actions/checkout@v5
2020

2121
# 安装最新版 Node.js
2222
# from: https://github.com/actions/setup-node
2323
- name: 安装 Node.js
24-
uses: actions/setup-node@master
24+
uses: actions/setup-node@v5
2525
with:
26-
node-version: 18
26+
node-version: lts/*
2727
registry-url: https://registry.npmjs.org/
2828

2929
- name: 安装包管理器
@@ -39,7 +39,7 @@ jobs:
3939
pnpm build
4040
4141
- name: 部署到 ghpage
42-
uses: peaceiris/actions-gh-pages@v3
42+
uses: peaceiris/actions-gh-pages@v4
4343
with:
4444
github_token: ${{ secrets.GITHUB_TOKEN }}
4545
publish_branch: ghpage

src/.vuepress/styles/index.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import './browsersupport.scss';
1+
@use './browsersupport';
22

33
.vp-hero-image {
44
height: auto;

0 commit comments

Comments
 (0)