Skip to content

[CI] Run format:check in CI #302

Description

@LazyyVenom

Problem

package.json defines format:check (oxfmt --check), but .github/workflows/ci.yml never runs it. CLAUDE.md makes "formatted" a pre-PR requirement, yet CI can't catch an unformatted PR.

Proposed fix

Add - run: pnpm format:check to the unit job, next to pnpm lint.

Scope and risk

One line. The tree is formatted today (oxfmt --check: "All matched files use the correct format", 642 files), so this won't turn CI red.

Validation

The CI run on the PR is green, and a deliberately unformatted commit makes it fail.

Found in a read-only audit of main @ 3264354.

Activity

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions