Skip to content

Commit f6d2297

Browse files
committed
chore(ci): tweak deploy workflow
1 parent abc0d83 commit f6d2297

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,18 @@ jobs:
1313

1414
steps:
1515
# 1. 检出代码
16-
- uses: actions/checkout@v3
16+
- uses: actions/checkout@v4
1717

1818
# 2. 安装 pnpm
1919
- name: Install pnpm
2020
run: npm install -g pnpm
2121

22-
# 3. 设置 Node.js 环境
23-
- name: Use Node.js
24-
uses: actions/setup-node@v3
22+
23+
- name: Setup Node
24+
uses: actions/setup-node@v4
2525
with:
26-
node-version: 18
27-
cache: 'pnpm'
26+
node-version: 20
27+
cache: pnpm
2828

2929
# 4. 安装依赖
3030
- name: Install dependencies

0 commit comments

Comments
 (0)