Skip to content

Automated Template Testing in CI #44

@Josephat-S

Description

@Josephat-S

[#### What to build

Add a GitHub Actions workflow that generates and builds every template+architecture+design combination to catch regressions. This prevents the "framer-motion not found" type of bugs from reaching users.

Files to create

  • .github/workflows/templates.yml
  • scripts/test-templates.js

Specs

  • Matrix strategy: test all 5 templates × available architectures × 3 key designs (Minimal Clean, Dark Terminal, Glassmorphism).
  • Each job: generate project → npm run build (or npx vite build).
  • Run on PRs that touch templates/, src/generate.js, or src/dependencies.js.

Acceptance criteria

  • CI workflow runs template generation tests on relevant PRs.
  • Tests cover all template + architecture combinations.
  • Tests cover sidebar=true and sidebar=false variants.
  • Tests cover at least 3 design themes.
  • Failing template build blocks the PR.

Dependencies

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfeatureRequest for a new feature

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions