This repository uses GitHub Actions for continuous integration. Contributors should replicate the CI steps locally before opening a pull request.
Before running any tests or scripts, install dependencies and build the packages:
pnpm install
pnpm build- Install dependencies with
pnpm install. - Build all packages with
pnpm build. - Verify documentation with
pnpm docs:check. - Run unit tests with
pnpm testand example tests withpnpm test:examples. - Lint the code using
pnpm lint.
These steps must pass before you submit your PR.
- PR titles must follow the conventional commit format and, when possible, include the affected module name. Examples:
feat(browser): add featureorfix(plugin): correct bug. - The CI matrix runs on Node.js
18.17.x,20.x, and22.x. Ensure your code is compatible with these versions.