Skip to content

Commit 8505939

Browse files
committed
chore: update Node to 24.22.1
1 parent 44bbae1 commit 8505939

7 files changed

Lines changed: 14 additions & 10 deletions

File tree

‎.changeset/tidy-nodes-rise.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@smartthings/cli": patch
3+
---
4+
5+
Update to Node 24.22.1. Intel (x64) MacOS binaries are no longer provided.

‎.github/workflows/cd.yaml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Setup Node.js
2929
uses: actions/setup-node@v6.1.0
3030
with:
31-
node-version: 24.8.0
31+
node-version: 24.22.1
3232

3333
- name: Install Dependencies
3434
run: npm ci
@@ -76,7 +76,7 @@ jobs:
7676
- name: Setup Node.js
7777
uses: actions/setup-node@v6.1.0
7878
with:
79-
node-version: 24.8.0
79+
node-version: 24.22.1
8080

8181
- run: npm ci
8282
- run: npm run build
@@ -197,7 +197,7 @@ jobs:
197197
- name: Setup Node.js
198198
uses: actions/setup-node@v6.1.0
199199
with:
200-
node-version: 24.8.0
200+
node-version: 24.22.1
201201

202202
- name: Create Github Release
203203
uses: softprops/action-gh-release@v2.5.0

‎.github/workflows/ci.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
fetch-depth: 0
1313
- uses: actions/setup-node@v6.1.0
1414
with:
15-
node-version: 24.8.0
15+
node-version: 24.22.1
1616
- run: npm ci
1717
- run: npx commitlint --from HEAD~${{ github.event.pull_request.commits }} --to HEAD
1818

@@ -23,7 +23,7 @@ jobs:
2323
fail-fast: false
2424
matrix:
2525
# add/remove versions as we move support forward
26-
node-version: [24.8.0]
26+
node-version: [24.22.1]
2727
os: [ubuntu-latest, macos-latest, windows-latest]
2828

2929
steps:

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Download and run the `smartthings.msi` installer from the [latest Release](https
3939

4040
The CLI can be used on any platform that supports Node 24.
4141

42-
First, install at least [Node version 24.8.0](https://nodejs.org/en/download/current) on your machine.
42+
First, install at least [Node version 24.22.1](https://nodejs.org/en/download/current) on your machine.
4343
The official Node release can be found here:
4444

4545
https://nodejs.org/en/download/current

‎package-lock.json‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"./commands/list": "./dist/src/commands/index.js"
3737
},
3838
"engines": {
39-
"node": ">=24.8.0",
39+
"node": ">=24.22.1",
4040
"npm": ">=11.4.2"
4141
},
4242
"publishConfig": {

‎src/build-tools/build-binaries.ts‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ const targets = [
1111
'linux-arm64',
1212
'linux-x64',
1313
'mac-arm64',
14-
'mac-x64',
1514
'windows-x64',
1615
]
1716
const nodeVersion = process.version.substring(1)
@@ -55,7 +54,7 @@ const buildAndZipTarget = async (target: string): Promise<void> => {
5554
// unable to find its own bundled script at runtime. Listing it explicitly
5655
// forces nexe to embed it regardless.
5756
resources: ['package.json', packFile],
58-
remote: 'https://github.com/SmartThingsCommunity/cli-nexe-builds/releases/download/1.0.0',
57+
remote: 'https://github.com/SmartThingsCommunity/cli-nexe-builds/releases/download/2.0.0',
5958
output: fullBinaryFilename,
6059
python: 'python3',
6160
targets: [`${target}-${nodeVersion}`],

0 commit comments

Comments
 (0)