Skip to content

Commit e297f71

Browse files
[workflow] Use LTS node version and split "Run test" step
1 parent e1a53ef commit e297f71

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

.github/workflows/automated-tests.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: "Use Node.js"
2323
uses: actions/setup-node@v4
2424
with:
25-
node-version: 23
25+
node-version: lts/*
2626
cache: "npm"
2727
- name: "Install dependencies"
2828
run: |
@@ -55,7 +55,7 @@ jobs:
5555
- name: "Install MagicMirror²"
5656
run: |
5757
npm run install-mm:dev
58-
- name: "Run tests"
58+
- name: "Prepare environment for tests"
5959
run: |
6060
# Fix chrome-sandbox permissions:
6161
sudo chown root:root ./node_modules/electron/dist/chrome-sandbox
@@ -64,4 +64,6 @@ jobs:
6464
WLR_BACKENDS=headless WLR_LIBINPUT_NO_DEVICES=1 WLR_RENDERER=pixman labwc &
6565
export WAYLAND_DISPLAY=wayland-0
6666
touch css/custom.css
67+
- name: "Run tests"
68+
run: |
6769
npm run test

.github/workflows/spellcheck.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Set up Node.js
2222
uses: actions/setup-node@v4
2323
with:
24-
node-version: "22"
24+
node-version: lts/*
2525
check-latest: true
2626
cache: "npm"
2727
- name: Install dependencies

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ planned for 2025-07-01
1313

1414
### Changed
1515

16-
- [refactor] Simplify module loading process
16+
- [refactor] Simplify module loading process (#3766)
17+
- [workflow] Run linter und spellcheck with LTS node version
18+
- [workflow] Split "Run test" step into two steps for more clarity
1719

1820
## [2.31.0] - 2025-04-01
1921

0 commit comments

Comments
 (0)