Skip to content

tests/: CI-verify a sample of registry refs resolve on a fresh project #18

Description

@AnayDhawan

What

A test job that, on a schedule and on components.json changes, creates a throwaway Vite + Tailwind project and runs a small sample of registry ref commands (one per registry), asserting they resolve and the fetched files compile.

Why

validate.yml proves schema, not that refs still work. Registry drift is the #1 rot vector (21st.dev already flipped to auth-gated; ReactBits returns HTTP 200 for invalid names). Complements the soft-fail health check (#3) with a real install-path proof.

Scope

  • Sample-based (not all 38 entries) to keep CI fast
  • Include a prefers-reduced-motion presence check on fetched samples
  • Soft-fail on scheduled runs (open an issue), hard-fail on PRs that touch components.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions