Skip to content

See how your app actually fits together. An interactive, plain-English map of your codebase, drawn by Claude or Codex.

CI: update to checkout and setup-node v7, run macOS once

Hayden Smithc8d5a8422513
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index af0d75d..4629c85 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -1,5 +1,6 @@
-# Runs the test suite on every push and pull request, on the Node versions and operating systems
-# Floorplan supports. No dependencies to install: Node's built-in runner.
+# Runs the test suite on every push and pull request. Linux and Windows cover every Node version
+# Floorplan supports; macOS runs once, on the current Node, since GitHub's macOS machines are scarce.
+# No dependencies to install: Node's built-in runner.
name: Tests
on:
@@ -17,11 +18,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [ubuntu-latest, macos-latest, windows-latest]
+ os: [ubuntu-latest, windows-latest]
node: [18, 20, 22]
+ include:
+ - os: macos-latest
+ node: 22
steps:
- - uses: actions/checkout@v4
- - uses: actions/setup-node@v4
+ - uses: actions/checkout@v7
+ - uses: actions/setup-node@v7
with:
node-version: ${{ matrix.node }}
- run: node --test
diff --git a/docs/development.md b/docs/development.md
index eecd4fa..c88411c 100644
--- a/docs/development.md
+++ b/docs/development.md
@@ -61,7 +61,7 @@ node skills/floorplan/scripts/open.mjs /path/to/project
npm test
```
-The tests use Node's built-in test runner, so there's nothing to install (`npm test` is the same as `node --test`). GitHub runs them on every push and pull request, on Linux, macOS and Windows with Node 18, 20 and 22.
+The tests use Node's built-in test runner, so there's nothing to install (`npm test` is the same as `node --test`). GitHub runs them on every push and pull request: on Linux and Windows with Node 18, 20 and 22, and on macOS with Node 22.
| File | What it checks |
|---|---|