ci: bump actions and node versions

pull/2913/merge
Divyansh Singh 10 months ago
parent 4e548f5424
commit 1ccb1c377e

@ -38,11 +38,11 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v5
- uses: pnpm/action-setup@v3 - uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4 - uses: actions/setup-node@v6
with: with:
node-version: 22 node-version: 24
cache: pnpm cache: pnpm
- run: pnpm install - run: pnpm install
- run: pnpm build - run: pnpm build

@ -12,7 +12,7 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v5
- name: Create Release for Tag - name: Create Release for Tag
id: release_tag id: release_tag

@ -18,22 +18,22 @@ jobs:
strategy: strategy:
matrix: matrix:
os: [ubuntu-latest] os: [ubuntu-latest]
node_version: [20, 22, latest] node_version: [20, 22, 24, latest]
include: include:
- os: windows-latest - os: windows-latest
node_version: 22 node_version: 24
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v5
- name: Install pnpm - name: Install pnpm
uses: pnpm/action-setup@v3 uses: pnpm/action-setup@v4
- name: Set node version to ${{ matrix.node_version }} - name: Set node version to ${{ matrix.node_version }}
uses: actions/setup-node@v4 uses: actions/setup-node@v6
with: with:
node-version: ${{ matrix.node_version }} node-version: ${{ matrix.node_version }}
cache: pnpm cache: pnpm

@ -153,17 +153,17 @@ Don't enable options like _Auto Minify_ for HTML code. It will remove comments f
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v5
with: with:
fetch-depth: 0 # Not needed if lastUpdated is not enabled fetch-depth: 0 # Not needed if lastUpdated is not enabled
# - uses: pnpm/action-setup@v3 # Uncomment this block if you're using pnpm # - uses: pnpm/action-setup@v4 # Uncomment this block if you're using pnpm
# with: # with:
# version: 9 # Not needed if you've set "packageManager" in package.json # 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 # - uses: oven-sh/setup-bun@v1 # Uncomment this if you're using Bun
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v4 uses: actions/setup-node@v6
with: with:
node-version: 22 node-version: 24
cache: npm # or pnpm / yarn cache: npm # or pnpm / yarn
- name: Setup Pages - name: Setup Pages
uses: actions/configure-pages@v4 uses: actions/configure-pages@v4

@ -11,7 +11,7 @@ To fix this in **GitHub Actions**, use the following in your workflow:
```yaml{4} ```yaml{4}
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v5
with: with:
fetch-depth: 0 fetch-depth: 0
``` ```

@ -153,17 +153,17 @@ No active opciones como _Auto Minify_ para código HTML. Eso removera comentario
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v5
with: with:
fetch-depth: 0 # No necesario se lastUpdated no estuviera habilitado fetch-depth: 0 # No necesario se lastUpdated no estuviera habilitado
# - uses: pnpm/action-setup@v3 # Desconecte eso si estuviera usando pnpm # - uses: pnpm/action-setup@v4 # Desconecte eso si estuviera usando pnpm
# with: # with:
# version: 9 # version: 9
# - uses: oven-sh/setup-bun@v1 # Desconecte eso se estuviera usando Bun # - uses: oven-sh/setup-bun@v1 # Desconecte eso se estuviera usando Bun
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v4 uses: actions/setup-node@v6
with: with:
node-version: 22 node-version: 24
cache: npm # o pnpm / yarn cache: npm # o pnpm / yarn
- name: Setup Pages - name: Setup Pages
uses: actions/configure-pages@v4 uses: actions/configure-pages@v4

@ -153,15 +153,15 @@ Cache-Control: max-age=31536000,immutable
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v5
with: with:
fetch-depth: 0 # Not needed if lastUpdated is not enabled 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@v4 # Uncomment this if you're using pnpm
# - uses: oven-sh/setup-bun@v1 # Uncomment this if you're using Bun # - uses: oven-sh/setup-bun@v1 # Uncomment this if you're using Bun
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v4 uses: actions/setup-node@v6
with: with:
node-version: 22 node-version: 24
cache: npm # or pnpm / yarn cache: npm # or pnpm / yarn
- name: Setup Pages - name: Setup Pages
uses: actions/configure-pages@v4 uses: actions/configure-pages@v4

@ -158,17 +158,17 @@ HTML の _Auto Minify_ のようなオプションを有効にしないでくだ
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v5
with: with:
fetch-depth: 0 # Not needed if lastUpdated is not enabled fetch-depth: 0 # Not needed if lastUpdated is not enabled
# - uses: pnpm/action-setup@v3 # Uncomment this block if you're using pnpm # - uses: pnpm/action-setup@v4 # Uncomment this block if you're using pnpm
# with: # with:
# version: 9 # Not needed if you've set "packageManager" in package.json # 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 # - uses: oven-sh/setup-bun@v1 # Uncomment this if you're using Bun
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v4 uses: actions/setup-node@v6
with: with:
node-version: 22 node-version: 24
cache: npm # or pnpm / yarn cache: npm # or pnpm / yarn
- name: Setup Pages - name: Setup Pages
uses: actions/configure-pages@v4 uses: actions/configure-pages@v4

@ -11,7 +11,7 @@ VitePress は各ファイルの **直近の Git コミットのタイムスタ
```yaml{4} ```yaml{4}
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v5
with: with:
fetch-depth: 0 fetch-depth: 0
``` ```

@ -152,17 +152,17 @@ HTML 코드에 대해 _Auto Minify_ 옵션을 활성화하지 마세요. 이는
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v5
with: with:
fetch-depth: 0 # lastUpdated가 활성화되지 않은 경우 필요하지 않음 fetch-depth: 0 # lastUpdated가 활성화되지 않은 경우 필요하지 않음
# - uses: pnpm/action-setup@v3 # pnpm을 사용하는 경우 주석 해제 # - uses: pnpm/action-setup@v4 # pnpm을 사용하는 경우 주석 해제
# with: # with:
# version: 9 # version: 9
# - uses: oven-sh/setup-bun@v1 # Bun을 사용하는 경우 주석 해제 # - uses: oven-sh/setup-bun@v1 # Bun을 사용하는 경우 주석 해제
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v4 uses: actions/setup-node@v6
with: with:
node-version: 22 node-version: 24
cache: npm # 또는 pnpm / yarn cache: npm # 또는 pnpm / yarn
- name: Setup Pages - name: Setup Pages
uses: actions/configure-pages@v4 uses: actions/configure-pages@v4

@ -153,17 +153,17 @@ Não ative opções como _Auto Minify_ para código HTML. Isso removerá coment
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v5
with: with:
fetch-depth: 0 # Não necessário se lastUpdated não estiver habilitado fetch-depth: 0 # Não necessário se lastUpdated não estiver habilitado
# - uses: pnpm/action-setup@v3 # Descomente isso se estiver usando pnpm # - uses: pnpm/action-setup@v4 # Descomente isso se estiver usando pnpm
# with: # with:
# version: 9 # version: 9
# - uses: oven-sh/setup-bun@v1 # Descomente isso se estiver usando Bun # - uses: oven-sh/setup-bun@v1 # Descomente isso se estiver usando Bun
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v4 uses: actions/setup-node@v6
with: with:
node-version: 22 node-version: 24
cache: npm # ou pnpm / yarn cache: npm # ou pnpm / yarn
- name: Setup Pages - name: Setup Pages
uses: actions/configure-pages@v4 uses: actions/configure-pages@v4

@ -153,17 +153,17 @@ Cache-Control: max-age=31536000,immutable
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v5
with: with:
fetch-depth: 0 # Не требуется, если функция lastUpdated не включена fetch-depth: 0 # Не требуется, если функция lastUpdated не включена
# - uses: pnpm/action-setup@v3 # Раскомментируйте, если вы используете pnpm # - uses: pnpm/action-setup@v4 # Раскомментируйте, если вы используете pnpm
# with: # with:
# version: 9 # version: 9
# - uses: oven-sh/setup-bun@v1 # Раскомментируйте, если вы используете Bun # - uses: oven-sh/setup-bun@v1 # Раскомментируйте, если вы используете Bun
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v4 uses: actions/setup-node@v6
with: with:
node-version: 22 node-version: 24
cache: npm # или pnpm / yarn cache: npm # или pnpm / yarn
- name: Setup Pages - name: Setup Pages
uses: actions/configure-pages@v4 uses: actions/configure-pages@v4

@ -11,7 +11,7 @@ VitePress отображает время «последнего обновле
```yaml{4} ```yaml{4}
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v5
with: with:
fetch-depth: 0 fetch-depth: 0
``` ```

@ -153,17 +153,17 @@ Cache-Control: max-age=31536000,immutable
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v5
with: with:
fetch-depth: 0 # 如果未启用 lastUpdated则不需要 fetch-depth: 0 # 如果未启用 lastUpdated则不需要
# - uses: pnpm/action-setup@v3 # 如果使用 pnpm请取消此区域注释 # - uses: pnpm/action-setup@v4 # 如果使用 pnpm请取消此区域注释
# with: # with:
# version: 9 # version: 9
# - uses: oven-sh/setup-bun@v1 # 如果使用 Bun请取消注释 # - uses: oven-sh/setup-bun@v1 # 如果使用 Bun请取消注释
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v4 uses: actions/setup-node@v6
with: with:
node-version: 22 node-version: 24
cache: npm # 或 pnpm / yarn cache: npm # 或 pnpm / yarn
- name: Setup Pages - name: Setup Pages
uses: actions/configure-pages@v4 uses: actions/configure-pages@v4

@ -11,7 +11,7 @@ VitePress 通过每个文件最近一次 Git 提交的时间戳显示"最后更
```yaml{4} ```yaml{4}
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v5
with: with:
fetch-depth: 0 fetch-depth: 0
``` ```

@ -1,5 +1,5 @@
[build.environment] [build.environment]
NODE_VERSION = "22" NODE_VERSION = "24"
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD = "1" PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD = "1"
[build] [build]

Loading…
Cancel
Save