Skip to content

feat: lockfile-aware package-manager detection for the Node CI scaffold #425

Backlog

Description

@jflowers

From PR #422 review feedback (uf-divisor, LOW — reproducibility).

Finding

The Node variant's test job runs npm ci, which requires a committed package-lock.json (or npm-shrinkwrap). Variant detection keys only on the presence of package.json, so a pnpm/yarn/bun project gets a scaffolded workflow whose first install step fails immediately.

Location: internal/scaffold/assets/ci/gaze-ai-report-node.yml:48 (run: npm ci).

Suggested approach

Align detection with the install command — choose the package manager by lockfile presence — or add an inline comment in the template stating the npm assumption.

Context

Review thread: #422 (comment)

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

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions