@sugarat/create-theme 0.0.68 → 0.0.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -43,20 +43,20 @@ jobs:
|
|
|
43
43
|
steps:
|
|
44
44
|
# 拉取代码
|
|
45
45
|
- name: Checkout
|
|
46
|
-
uses: actions/checkout@
|
|
46
|
+
uses: actions/checkout@v4
|
|
47
47
|
with:
|
|
48
48
|
# 保留 Git 信息
|
|
49
49
|
fetch-depth: 0
|
|
50
50
|
|
|
51
51
|
# 设置使用 Node.js 版本
|
|
52
52
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
53
|
-
uses: actions/setup-node@
|
|
53
|
+
uses: actions/setup-node@v4
|
|
54
54
|
with:
|
|
55
55
|
node-version: ${{ matrix.node-version }}
|
|
56
56
|
|
|
57
57
|
# 使用 最新的 PNPM
|
|
58
58
|
# 你也可以指定为具体的版本
|
|
59
|
-
- uses: pnpm/action-setup@
|
|
59
|
+
- uses: pnpm/action-setup@v4
|
|
60
60
|
name: Install pnpm
|
|
61
61
|
with:
|
|
62
62
|
version: latest
|
|
@@ -65,7 +65,9 @@ jobs:
|
|
|
65
65
|
|
|
66
66
|
# 安装依赖
|
|
67
67
|
- name: Install dependencies
|
|
68
|
-
run: pnpm install
|
|
68
|
+
run: pnpm install
|
|
69
|
+
# 锁定依赖版本
|
|
70
|
+
# run: pnpm install --frozen-lockfile
|
|
69
71
|
|
|
70
72
|
# 构建项目
|
|
71
73
|
- name: Build blog project
|