You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fory.apache.org by ch...@apache.org on 2026/04/20 08:08:18 UTC

(fory-site) branch speedup_build created (now 6dd54d3dd)

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

chaokunyang pushed a change to branch speedup_build
in repository https://gitbox.apache.org/repos/asf/fory-site.git


      at 6dd54d3dd ci: use node 24 for site workflows

This branch includes the following new commits:

     new 6dd54d3dd ci: use node 24 for site workflows

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@fory.apache.org
For additional commands, e-mail: commits-help@fory.apache.org


(fory-site) 01/01: ci: use node 24 for site workflows

Posted by ch...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

chaokunyang pushed a commit to branch speedup_build
in repository https://gitbox.apache.org/repos/asf/fory-site.git

commit 6dd54d3ddacf4b8eb79b65f95c4f9e21e39eb774
Author: 慕白 <ch...@antgroup.com>
AuthorDate: Mon Apr 20 16:07:57 2026 +0800

    ci: use node 24 for site workflows
---
 .github/workflows/deploy.yml     | 14 +++++++++++---
 .github/workflows/link-check.yml |  2 +-
 .github/workflows/lint.yml       |  2 +-
 package.json                     |  2 +-
 4 files changed, 14 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 51806fc2e..96a2f77ba 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -30,7 +30,7 @@ jobs:
       - uses: actions/checkout@v4
       - uses: actions/setup-node@v4
         with:
-          node-version: 18.x
+          node-version: 24.x
 
       - uses: actions/setup-python@v3
         with:
@@ -43,9 +43,17 @@ jobs:
           python script.py
           ls -lR ../../i18n/zh-CN/ ../../i18n/eu-US/
 
-      - name: NPM Install & Build
+      - name: NPM Install
+        run: npm install
+
+      - name: Restore Docusaurus cache
+        uses: actions/cache@v4
+        with:
+          path: node_modules/.cache
+          key: ${{ runner.os }}-node24-docusaurus-${{ hashFiles('package-lock.json') }}
+
+      - name: Build
         run: |
-          npm install
           npm run download-avatars
           npm run build
           cp .asf.yaml build/.asf.yaml
diff --git a/.github/workflows/link-check.yml b/.github/workflows/link-check.yml
index 7d6812c3f..76ebc9279 100644
--- a/.github/workflows/link-check.yml
+++ b/.github/workflows/link-check.yml
@@ -15,7 +15,7 @@ jobs:
       - uses: actions/checkout@v4
       - uses: actions/setup-node@v4
         with:
-          node-version: "18"
+          node-version: "24"
 
       # - name: markdown-link-check
       #   uses: gaurav-nelson/github-action-markdown-link-check@v1
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 1c01b0e75..bb92a7b45 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -29,7 +29,7 @@ jobs:
       - name: 🚀 Use Node.js
         uses: actions/setup-node@v3
         with:
-          node-version: '18.x'
+          node-version: '24.x'
       - run: npm install -g markdownlint-cli@0.25.0
       - run: markdownlint '**/*.md' --ignore node_modules
 
diff --git a/package.json b/package.json
index 180aa396e..432853cf5 100644
--- a/package.json
+++ b/package.json
@@ -60,6 +60,6 @@
     ]
   },
   "engines": {
-    "node": ">=18.0"
+    "node": ">=24.0"
   }
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@fory.apache.org
For additional commands, e-mail: commits-help@fory.apache.org