mirror of
https://github.com/fantastic-admin/basic.git
synced 2026-10-07 17:08:27 +08:00
更新工作流
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user