Skip to content

Commit 158fb45

Browse files
fix: 调整pnpm版本问题
1 parent bf55229 commit 158fb45

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/docs-release.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,11 @@ jobs:
3232
uses: actions/checkout@v4
3333
with:
3434
fetch-depth: 0 # 如果未启用 lastUpdated,则不需要
35-
# - uses: pnpm/action-setup@v3 # 如果使用 pnpm,请取消注释
36-
# - uses: oven-sh/setup-bun@v1 # 如果使用 Bun,请取消注释
35+
- uses: pnpm/action-setup@v3 # 如果使用 pnpm,请取消注释
36+
with:
37+
version: 9
3738
- name: Setup Node
38-
uses: pnpm/action-setup@v3
39+
uses: actions/setup-node@v4
3940
with:
4041
node-version: 20
4142
cache: pnpm # 或 pnpm / yarn

0 commit comments

Comments
 (0)