Skip to content

Commit cfcc37d

Browse files
ccjr1120brc-dd
andauthored
docs: fix use pnpm action-setup (#4294)
Co-authored-by: Divyansh Singh <[email protected]>
1 parent c593b7f commit cfcc37d

File tree

6 files changed

+14
-2
lines changed

6 files changed

+14
-2
lines changed

docs/en/guide/deploy.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,9 @@ Don't enable options like _Auto Minify_ for HTML code. It will remove comments f
156156
uses: actions/checkout@v4
157157
with:
158158
fetch-depth: 0 # Not needed if lastUpdated is not enabled
159-
# - uses: pnpm/action-setup@v3 # Uncomment this if you're using pnpm
159+
# - uses: pnpm/action-setup@v3 # Uncomment this block if you're using pnpm
160+
# with:
161+
# version: 9 # Not needed if you've set "packageManager" in package.json
160162
# - uses: oven-sh/setup-bun@v1 # Uncomment this if you're using Bun
161163
- name: Setup Node
162164
uses: actions/setup-node@v4

docs/es/guide/deploy.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@ No active opciones como _Auto Minify_ para código HTML. Eso removera comentario
157157
with:
158158
fetch-depth: 0 # No necesario se lastUpdated no estuviera habilitado
159159
# - uses: pnpm/action-setup@v3 # Desconecte eso si estuviera usando pnpm
160+
# with:
161+
# version: 9
160162
# - uses: oven-sh/setup-bun@v1 # Desconecte eso se estuviera usando Bun
161163
- name: Setup Node
162164
uses: actions/setup-node@v4

docs/ko/guide/deploy.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,8 @@ HTML 코드에 대해 _Auto Minify_ 옵션을 활성화하지 마세요. 이는
156156
with:
157157
fetch-depth: 0 # lastUpdated가 활성화되지 않은 경우 필요하지 않음
158158
# - uses: pnpm/action-setup@v3 # pnpm을 사용하는 경우 주석 해제
159+
# with:
160+
# version: 9
159161
# - uses: oven-sh/setup-bun@v1 # Bun을 사용하는 경우 주석 해제
160162
- name: Setup Node
161163
uses: actions/setup-node@v4

docs/pt/guide/deploy.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@ Não ative opções como _Auto Minify_ para código HTML. Isso removerá coment
157157
with:
158158
fetch-depth: 0 # Não necessário se lastUpdated não estiver habilitado
159159
# - uses: pnpm/action-setup@v3 # Descomente isso se estiver usando pnpm
160+
# with:
161+
# version: 9
160162
# - uses: oven-sh/setup-bun@v1 # Descomente isso se estiver usando Bun
161163
- name: Setup Node
162164
uses: actions/setup-node@v4

docs/ru/guide/deploy.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@ Cache-Control: max-age=31536000,immutable
157157
with:
158158
fetch-depth: 0 # Не требуется, если функция lastUpdated не включена
159159
# - uses: pnpm/action-setup@v3 # Раскомментируйте, если вы используете pnpm
160+
# with:
161+
# version: 9
160162
# - uses: oven-sh/setup-bun@v1 # Раскомментируйте, если вы используете Bun
161163
- name: Setup Node
162164
uses: actions/setup-node@v4

docs/zh/guide/deploy.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,9 @@ Cache-Control: max-age=31536000,immutable
156156
uses: actions/checkout@v4
157157
with:
158158
fetch-depth: 0 # 如果未启用 lastUpdated,则不需要
159-
# - uses: pnpm/action-setup@v3 # 如果使用 pnpm,请取消注释
159+
# - uses: pnpm/action-setup@v3 # 如果使用 pnpm,请取消此区域注释
160+
# with:
161+
# version: 9
160162
# - uses: oven-sh/setup-bun@v1 # 如果使用 Bun,请取消注释
161163
- name: Setup Node
162164
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)