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
4 changes: 2 additions & 2 deletions .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ OpenAPI command names and parameters must match the device pages in

## Commands

Node `^22 || ^24`. Run in this order; every step must pass before committing:
Node `^22 || ^24 || ^26`. Run in this order; every step must pass before committing:

```bash
npm ci
Expand Down Expand Up @@ -120,7 +120,7 @@ test/ # Vitest: apis/, devices/, types/, utils/
- Conventional Commits (`feat:`, `fix:`, `docs:`, `test:`, `chore:`). Use `feat!:` with a
`BREAKING CHANGE:` footer when public identities, enums or behaviour change.
- Default branch is `latest`. PRs are squash-merged, so the PR title becomes the commit message.
- `.github/workflows/ci.yml` runs build, test and lint on Node 22 and 24 for every PR to `latest`
- `.github/workflows/ci.yml` runs build, test and lint on Node 22, 24 and 26 for every PR to `latest`
or `beta-*`. Run the full check locally first anyway.
- `.github/workflows/release.yml`:
- push to `beta-*`: build, test, lint, then publish a beta to npm;
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22, 24]
node-version: [22, 24, 26]

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v7
with:
node-version: ${{ matrix.node-version }}
cache: npm
Expand Down
2 changes: 1 addition & 1 deletion BLE.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ The `SwitchBot` class allows you to interact with SwitchBot devices using the Sw

## Requirements

- Node.js `^20 || ^22 || ^24`
- Node.js `^22 || ^24 || ^26`
- `@stoprocent/noble` is included as a dependency

## Prerequisites
Expand Down
2 changes: 1 addition & 1 deletion 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 @@ -40,7 +40,7 @@
"dist/"
],
"engines": {
"node": "^22 || ^24"
"node": "^22 || ^24 || ^26"
},
"scripts": {
"check": "npm install && npm outdated",
Expand Down
Loading