Fix: support Node 22 CLI installs (#361)

Lower the CLI engine floor to Node 22.12 so npx no longer falls back to stale 2.x releases for Node 22/23 users.

Add Node 22.12 CI coverage while preserving the stable required test check, and document the 3.2.1 CLI release notes including the detector and installer fixes already waiting on main.

AI-assisted-by: Codex
This commit is contained in:
Paul Bakaus
2026-07-09 11:34:07 -07:00
committed by GitHub
parent fb6d3e9791
commit 0d1c34e9d0
5 changed files with 37 additions and 7 deletions
+21 -3
View File
@@ -41,9 +41,14 @@ jobs:
GITHUB_EVENT_BEFORE: ${{ github.event.before }}
run: node scripts/ci-test-plan.mjs
test:
test-matrix:
name: test (Node ${{ matrix.node-version }})
runs-on: ubuntu-latest
needs: changes
strategy:
fail-fast: false
matrix:
node-version: [22.12.0, 24]
steps:
- name: Checkout repository
uses: actions/checkout@v7
@@ -51,7 +56,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: 24
node-version: ${{ matrix.node-version }}
- name: Setup Bun
uses: oven-sh/setup-bun@v2
@@ -104,13 +109,26 @@ jobs:
- name: Upload build artifacts
uses: actions/upload-artifact@v7
with:
name: impeccable-dist
name: impeccable-dist-node-${{ matrix.node-version }}
# Ship the packaged zips, not the unpacked Firefox staging tree.
path: |
dist/
!dist/extension-firefox/
retention-days: 7
test:
runs-on: ubuntu-latest
needs: test-matrix
if: always()
steps:
- name: Verify Node test matrix
run: |
if [ "${{ needs.test-matrix.result }}" != "success" ]; then
echo "test-matrix result: ${{ needs.test-matrix.result }}"
exit 1
fi
echo "test matrix passed"
cli-remote-e2e:
runs-on: ubuntu-latest
needs: changes