Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/node-22-support.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'seamless-cli': patch
---

Support Node 22 and newer. The `engines` field now requires `>=22` instead of `>=24 <25`, and CI runs on Node 22, 24, and the latest release (fells-code/seamless-auth-api#339).
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,24 @@ concurrency:

jobs:
build-and-test:
name: Build and unit test
name: Build and unit test (Node ${{ matrix.node-version }})
runs-on: ubuntu-latest
env:
HUSKY: 0
strategy:
fail-fast: false
matrix:
# The supported range is engines >=22: the oldest supported LTS, the
# development default from .nvmrc, and the newest release.
node-version: [22, 24, latest]
steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
node-version: ${{ matrix.node-version }}
cache: npm

- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ Seamless CLI exists to make this setup fast and repeatable.

## Requirements

- Node.js 24 (see `.nvmrc`; the package `engines` requires `>=24 <25`)
- Node.js 22 or newer (the package `engines` requires `>=22`; `.nvmrc` pins 24 for development)
- npm or pnpm
- Docker (optional)

Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"type": "module",
"engines": {
"node": ">=24 <25"
"node": ">=22"
},
"scripts": {
"build": "npm run clean && tsc",
Expand Down
Loading