Skip to content

ci: validate tutorial builds and document contribution checks - #92

Open
FenjuFu wants to merge 1 commit into
iflytek:mainfrom
FenjuFu:ci/tutorial-validation-security
Open

FenjuFu wants to merge 1 commit into
iflytek:mainfrom
FenjuFu:ci/tutorial-validation-security

Conversation

@FenjuFu

@FenjuFu FenjuFu commented Oct 8, 2026 •

Copy link
Copy Markdown
Member

Documentation builds currently run only after changes reach main. Add pull-request CI that installs the locked dependencies and runs the production VitePress build, retaining its internal Markdown page-link validation. Also verify the published learning-assistant index contains valid Chinese and English entries and matches the freshly generated index.

Use the same Node.js 24, npm ci, and npm test commands for Pages deployment. Document the required contributor checks and their limits, and add a SECURITY.md that directs private reports to the existing iFLYTEK community security process.

Validation:

  • npm ci and npm test pass locally on Node.js 24.16.0; 413 published index entries validated.
  • The new Linux CI run passes.
  • Confirmed VitePress rejects a deliberately broken local page link.
  • Confirmed the index validator rejects an empty index, a missing language, missing headings/content, and a stale published index; all temporary fixtures were removed.
  • git diff --check passes.

The separate Vercel preview status requests deployment authorization from the Vercel team; the documentation CI itself is green.

Signed-off-by: FenjuFu <92919259+FenjuFu@users.noreply.github.com>
@vercel

vercel Bot commented Oct 8, 2026

Copy link
Copy Markdown

@FenjuFu is attempting to deploy a commit to the Fenju's projects Team on Vercel.

A member of the Team first needs to authorize it.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant