Skip to content

CI: lint workflow uses npm install ci instead of npm ci #2282

Description

@fallintoplace

Summary

The lint job in .github/workflows/lint-and-test.yml runs npm install ci instead of npm ci.

Why this is a problem

npm install ci does not perform a clean lockfile-based install. It is interpreted as npm install <package>, so the lint job is not using the intended CI install path and may run against a dependency tree that differs from the test job.

The test job in the same workflow already uses the correct command:

  • lint job: npm install ci
  • test job: npm ci

Location

  • .github/workflows/lint-and-test.yml

Suggested fix

Replace the lint step with:

npm ci

That keeps lint/typecheck aligned with the lockfile and with the existing test job setup.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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