forked from MagicMirrorOrg/MagicMirror
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add spelling check to GitHub workflow (MagicMirrorOrg#3623)
Besides updating cspell and handling spelling issues, the important change is adding the spelling check to the GitHub workflow. I'm not sure if it will bother us too much when people create PRs. But I wanted to give it a try. Or do you have any other ideas on how we can run the spelling check on a regular basis?
- Loading branch information
1 parent
0aae771
commit 6ce3622
Showing
5 changed files
with
154 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# This workflow will run a spellcheck on the codebase. | ||
# It runs a few days before each release. At 00:00 on day-of-month 27 in March, June, September, and December. | ||
|
||
name: Run Spellcheck | ||
|
||
on: | ||
schedule: | ||
- cron: "0 0 27 3,6,9,12 *" | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
spellcheck: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: develop | ||
- name: Set up Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: "22" | ||
check-latest: true | ||
cache: "npm" | ||
- name: Install dependencies | ||
run: | | ||
npm run install-mm:dev | ||
- name: Run Spellcheck | ||
run: npm run test:spellcheck |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.