This is an automated email from the ASF dual-hosted git repository.

kerwin612 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hertzbeat.git


The following commit(s) were added to refs/heads/master by this push:
     new 9ec371a5c5 ci(doc-deploy): fix pnpm cache setup and upgrade Node to 22 
(#4248)
9ec371a5c5 is described below

commit 9ec371a5c54446411de48fe363de6ae44ce52846
Author: Tomsun28 <[email protected]>
AuthorDate: Sun Jul 26 14:22:28 2026 +0800

    ci(doc-deploy): fix pnpm cache setup and upgrade Node to 22 (#4248)
    
    Co-authored-by: Devin 
<158243242+devin-ai-integration[bot]@users.noreply.github.com>
---
 .github/workflows/doc-build-test.yml |  2 +-
 .github/workflows/doc-deploy.yml     | 14 +++++++-------
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/.github/workflows/doc-build-test.yml 
b/.github/workflows/doc-build-test.yml
index d69770fe7c..44c6dfe20f 100644
--- a/.github/workflows/doc-build-test.yml
+++ b/.github/workflows/doc-build-test.yml
@@ -43,7 +43,7 @@ jobs:
           version: 10
       - uses: actions/setup-node@v4
         with:
-          node-version: '20'
+          node-version: '22'
           cache: pnpm
           cache-dependency-path: home/pnpm-lock.yaml
       - uses: actions/setup-python@v4
diff --git a/.github/workflows/doc-deploy.yml b/.github/workflows/doc-deploy.yml
index 2c962afdcc..dbb9616fa1 100644
--- a/.github/workflows/doc-deploy.yml
+++ b/.github/workflows/doc-deploy.yml
@@ -47,20 +47,20 @@ jobs:
         with:
           fetch-depth: 0
 
+      # Setup pnpm (must run before setup-node so the pnpm cache can be 
configured)
+      - name: Setup pnpm
+        uses: pnpm/action-setup@v4
+        with:
+          version: 10
+
       # Setup Node.js environment
       - name: Setup Node.js
         uses: actions/setup-node@v4
         with:
-          node-version: '20'
+          node-version: '22'
           cache: pnpm
           cache-dependency-path: home/pnpm-lock.yaml
 
-      # Setup pnpm
-      - name: Setup pnpm
-        uses: pnpm/action-setup@v4
-        with:
-          version: latest
-
       # Install dependencies in home directory
       - name: Install Dependencies
         working-directory: home


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to