Skip to content

Separate linting into a standalone CI job #8188

Description

@cstns

Summary

Right now, linting runs as part of multiple CI test jobs (it's baked into npm test which chains lint → test:unit → test:system). That means every test suite re-runs the linter, adding a couple of minutes to each job for no real benefit since lint results don't change between runs.

Suggestion

Pull linting out into its own standalone CI job and have the test jobs call test:unit / test:system directly instead of going through npm test.

The new job/workflow should be named generically so it can serve as a home for other scripts that only need to run once per CI run.

Why

  • Shaves a couple of minutes off each test job
  • Saves GitHub Actions minutes by not running the same check multiple times
  • Avoids redundant work across parallel jobs
  • Gives us a clean place to add future one-shot checks without bloating the test matrix

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions