Skip to content

CI Node version doesn't match apps/desktop engines range #115

Open

Description

@utof

Context

`apps/desktop/package.json` declares `engines.node: ">=20.19 <21 || >=22.12"`, accepting both the Node 20 LTS tail (20.19.x) and the Node 22 active LTS.

`.github/workflows/ci.yml` pins `actions/setup-node@v4` to `node-version: '22.12'` — a single Node. Contributors running on Node 20.19 pass the `engines` check locally but receive no CI signal for that interpreter.

Options

  1. Tighten `engines` to `>=22.12`. perima is a Tauri desktop app (bundles its own runtime for production). Supporting Node 20 in tooling buys little and removes the gap.
  2. Expand CI to a Node matrix (`node-version: ['20.19', '22.12']`). Preserves the `engines` range at the cost of doubling the CI job count.
  3. Do nothing and accept the gap as "20.19 is best-effort."

Option 1 is leanest and aligns with single-maintainer priorities. Option 2 is only worth the runtime cost once a Node-20-vs-22 regression is plausible.

References

  • `apps/desktop/package.json` — `engines` field.
  • `.github/workflows/ci.yml` — `actions/setup-node` step.

Priority

Low. No active failure; the gap is design intent from the L2 PR-2 plan. Filed so the decision is tracked rather than buried in a commit body.

Activity

  1. added
    area/ci
    on Apr 20, 2026
  2. added this to the Library audit follow-ups milestone on May 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/ci

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions