Skip to content

Commit

Permalink
docs: fix use pnpm action-setup (#4294)
Browse files Browse the repository at this point in the history
Co-authored-by: Divyansh Singh <[email protected]>
  • Loading branch information
ccjr1120 and brc-dd authored Oct 17, 2024
1 parent c593b7f commit cfcc37d
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 2 deletions.
4 changes: 3 additions & 1 deletion docs/en/guide/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,9 @@ Don't enable options like _Auto Minify_ for HTML code. It will remove comments f
uses: actions/checkout@v4
with:
fetch-depth: 0 # Not needed if lastUpdated is not enabled
# - uses: pnpm/action-setup@v3 # Uncomment this if you're using pnpm
# - uses: pnpm/action-setup@v3 # Uncomment this block if you're using pnpm
# with:
# version: 9 # Not needed if you've set "packageManager" in package.json
# - uses: oven-sh/setup-bun@v1 # Uncomment this if you're using Bun
- name: Setup Node
uses: actions/setup-node@v4
Expand Down
2 changes: 2 additions & 0 deletions docs/es/guide/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ No active opciones como _Auto Minify_ para código HTML. Eso removera comentario
with:
fetch-depth: 0 # No necesario se lastUpdated no estuviera habilitado
# - uses: pnpm/action-setup@v3 # Desconecte eso si estuviera usando pnpm
# with:
# version: 9
# - uses: oven-sh/setup-bun@v1 # Desconecte eso se estuviera usando Bun
- name: Setup Node
uses: actions/setup-node@v4
Expand Down
2 changes: 2 additions & 0 deletions docs/ko/guide/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ HTML 코드에 대해 _Auto Minify_ 옵션을 활성화하지 마세요. 이는
with:
fetch-depth: 0 # lastUpdated가 활성화되지 않은 경우 필요하지 않음
# - uses: pnpm/action-setup@v3 # pnpm을 사용하는 경우 주석 해제
# with:
# version: 9
# - uses: oven-sh/setup-bun@v1 # Bun을 사용하는 경우 주석 해제
- name: Setup Node
uses: actions/setup-node@v4
Expand Down
2 changes: 2 additions & 0 deletions docs/pt/guide/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ Não ative opções como _Auto Minify_ para código HTML. Isso removerá coment
with:
fetch-depth: 0 # Não necessário se lastUpdated não estiver habilitado
# - uses: pnpm/action-setup@v3 # Descomente isso se estiver usando pnpm
# with:
# version: 9
# - uses: oven-sh/setup-bun@v1 # Descomente isso se estiver usando Bun
- name: Setup Node
uses: actions/setup-node@v4
Expand Down
2 changes: 2 additions & 0 deletions docs/ru/guide/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ Cache-Control: max-age=31536000,immutable
with:
fetch-depth: 0 # Не требуется, если функция lastUpdated не включена
# - uses: pnpm/action-setup@v3 # Раскомментируйте, если вы используете pnpm
# with:
# version: 9
# - uses: oven-sh/setup-bun@v1 # Раскомментируйте, если вы используете Bun
- name: Setup Node
uses: actions/setup-node@v4
Expand Down
4 changes: 3 additions & 1 deletion docs/zh/guide/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,9 @@ Cache-Control: max-age=31536000,immutable
uses: actions/checkout@v4
with:
fetch-depth: 0 # 如果未启用 lastUpdated,则不需要
# - uses: pnpm/action-setup@v3 # 如果使用 pnpm,请取消注释
# - uses: pnpm/action-setup@v3 # 如果使用 pnpm,请取消此区域注释
# with:
# version: 9
# - uses: oven-sh/setup-bun@v1 # 如果使用 Bun,请取消注释
- name: Setup Node
uses: actions/setup-node@v4
Expand Down

0 comments on commit cfcc37d

Please sign in to comment.