更新工作流

This commit is contained in:
Hooray Hu
2023-07-04 15:17:55 +08:00
parent d95d363af9
commit 516a582845
+3 -3
View File
@@ -8,7 +8,7 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
# “最近更新时间” 等 git 日志相关信息,需要拉取全部提交记录
fetch-depth: 0
@@ -17,7 +17,7 @@ jobs:
uses: actions/setup-node@v3
with:
# 选择要使用的 node 版本
node-version: 16.x
node-version: 18
# registry-url: https://registry.npmmirror.com/
- uses: pnpm/action-setup@v2.2.4
@@ -42,7 +42,7 @@ jobs:
run: npm i -g @antfu/ni
- name: Install dependencies
run: ni
run: ni --frozen
# 运行构建脚本
- name: Build