Skip to content

Add CI workflow #2

Description

@derodero24

Motivation

A comprehensive CI pipeline is needed to validate every PR. This should cover linting, building across all target platforms, testing, and coverage reporting.

Tasks

  • Create ci.yml with the following jobs:
    • Lint: Biome check, TypeScript typecheck, publint, verify generated bindings
    • Audit: pnpm audit + cargo-deny
    • Rust Lint: cargo fmt --check + cargo clippy
    • Rust Test: cargo test
    • Build: Cross-compile for all 9 napi-rs targets (2 macOS, 4 Linux, 2 Windows, 1 WASM)
    • Test: Run Vitest on 3 Node versions × 3 OSes
    • Coverage: Rust (cargo-llvm-cov) + JS (vitest --coverage), upload to Codecov
    • WASM Tests: Browser (Playwright), Bun, Deno
  • Verify all jobs pass on the initial codebase

Dependencies

Acceptance Criteria

  • All CI jobs pass on a PR to develop
  • Coverage reports appear on Codecov
  • Build artifacts are produced for all 9 targets

Activity

  1. added this to the v0.1.0 milestone on Mar 20, 2026
  2. added
    infrastructureBuild system, CI/CD, project setup
    ciCI/CD workflows and automation
    on Mar 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ciCI/CD workflows and automationinfrastructureBuild system, CI/CD, project setup

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions