Skip to content

Conversation

@JHWelch
Copy link
Contributor

@JHWelch JHWelch commented Oct 26, 2025

I noticed that right now both the Linting test and the Spelling test are both failing on master

If we add a GitHub workflow that checks on PRs, we can more easily notice these problems before they get merged. In fact, if a maintainer wants to add it to the master protection Ruleset/branch protection you can require the workflow to pass.

I added these both as a single job with:

npm run test

This does mean that if someone has both spelling AND linting problems, they will only see the linting first, and then the spelling.

I could split this into one workflow, two jobs, so they run in parallel and you get separate warnings, but I'm not sure if that is overkill, and this ensures if new things get added to npm run test they will automatically get run here.

GItHub Actions are free for public repositories so this will not incur costs.

The second two commits here are resolving the problems.
You can see what failures look like on this Example PR in my fork JHWelch#1

rejas pushed a commit to MagicMirrorOrg/MagicMirror that referenced this pull request Nov 4, 2025
…uns (#3943)

Add `concurrency` configuration to automatically cancel outdated test
runs when new commits are pushed to the same PR/branch.

Inspired by
[MagicMirrorOrg/MagicMirror-Documentation#335](MagicMirrorOrg/MagicMirror-Documentation#335).
@rejas rejas merged commit f9c3059 into MagicMirrorOrg:master Dec 2, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants