CI and Deploy
Run the full local check suite:
./scripts/ci.sh
./scripts/ci.sh currently runs:
cargo testcargo test --doccargo test --manifest-path crates/rukalang_wasm/Cargo.tomlmdbook build docsmdbook test docsmdbook-linkcheck --standalone docs
Browser E2E tests are local-only and are not part of CI:
./scripts/e2e-local.sh
Equivalent manual commands:
cd web
npx playwright install chromium firefox
npm run test:e2e
Codeberg Pages deployment runs from
/.forgejo/workflows/pages.yml
on push to main, publishes the built site output to the pages branch, and
relies on the repository webhook for https://ruka.codeberg.page/RukaLang/ to
refresh the site.
The deploy workflow publishes rustdoc with private items enabled using:
cargo doc --no-deps --document-private-items
Published routes:
- Homepage
- Browser playground
- mdBook documentation
- Rustdoc (public + private items)