This is an automated email from the ASF dual-hosted git repository.
delei pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fesod.git
The following commit(s) were added to refs/heads/main by this push:
new 9944e2bb refactor: Consolidate documentation CI with markdown linting
(#715)
9944e2bb is described below
commit 9944e2bb50fdb6662d77b83ce3112b0c6b209b40
Author: ongdisheng <[email protected]>
AuthorDate: Fri Nov 28 01:01:03 2025 +0000
refactor: Consolidate documentation CI with markdown linting (#715)
---
.../workflows/{markdownlint.yml => ci-docs.yml} | 27 +++++++++++++++++-----
1 file changed, 21 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/markdownlint.yml b/.github/workflows/ci-docs.yml
similarity index 82%
rename from .github/workflows/markdownlint.yml
rename to .github/workflows/ci-docs.yml
index 02f0aefc..8fe1b368 100644
--- a/.github/workflows/markdownlint.yml
+++ b/.github/workflows/ci-docs.yml
@@ -15,19 +15,16 @@
# specific language governing permissions and limitations
# under the License.
-name: Markdown Lint
+name: Documentation CI
on:
pull_request:
paths:
- - '**/*.md'
- push:
- paths:
+ - 'website/**'
- '**/*.md'
jobs:
- markdownlint:
- if: github.event_name == 'push' || github.event_name == 'pull_request'
+ lint-and-build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
@@ -67,3 +64,21 @@ jobs:
else
echo "No markdown files changed, skipping lint."
fi
+
+ - name: Setup pnpm
+ uses: pnpm/action-setup@v4
+ with:
+ version: 8
+ run_install: false
+
+ - name: Enable corepack
+ working-directory: website
+ run: npm i -g --force corepack && corepack enable
+
+ - name: Install dependencies
+ working-directory: website
+ run: pnpm install
+
+ - name: Build website
+ working-directory: website
+ run: pnpm build
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]