mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-07-12 18:19:25 +00:00
Two small changes to the workflows: - Run linter and spellcheck workflows with LTS node version. The advantage of this is that we no longer have to raise the node version for them. - Split "Run test" step into two steps for more clarity.
32 lines
740 B
YAML
32 lines
740 B
YAML
# 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: lts/*
|
|
check-latest: true
|
|
cache: "npm"
|
|
- name: Install dependencies
|
|
run: |
|
|
node --run install-mm:dev
|
|
- name: Run Spellcheck
|
|
run: node --run test:spelling
|