Skip to content

Add a GitHub Action that runs the formatter #1977

@maribethb

Description

@maribethb

Check for duplicates

  • I have searched for similar issues before opening a new one.

Component

entire repo

Problem

No response

Request

After #1946 is submitted, we'll have a new top-level script that can automatically format the entire repository. On every pull request, we should run npm run format:check which will run the formatter in a mode that reports if any file needs formatting still. We have a similar action in core blockly here. We should add a similar job to our existing build/lint action in blockly-samples.

Alternatives considered

No response

Additional context

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions