This is an automated email from the ASF dual-hosted git repository.
chaokunyang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fory-site.git
The following commit(s) were added to refs/heads/main by this push:
new edfa7c4c9 ci: use node 24 for site workflows (#445)
edfa7c4c9 is described below
commit edfa7c4c9728d4cc36dcffd4a6fec50925899711
Author: Shawn Yang <[email protected]>
AuthorDate: Mon Apr 20 16:22:39 2026 +0800
ci: use node 24 for site workflows (#445)
---
.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 [email protected]
- 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: [email protected]
For additional commands, e-mail: [email protected]