docs: fix use pnpm action-setup (#4294)

Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
pull/4301/head
匆匆孑然 2 months ago committed by GitHub
parent c593b7f789
commit cfcc37d9aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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

@ -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

@ -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

@ -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

@ -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

@ -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

Loading…
Cancel
Save