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/lemon-seals-shake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@smartthings/core-sdk": major
---

Drop support for EOL versions of node, versions 18 and 20. Add support for versions 24 and 26.
18 changes: 9 additions & 9 deletions .github/workflows/ci-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: CI/CD

on:
push:
pull_request:
workflow_dispatch:
branches:
- main
pull_request:
workflow_dispatch:

jobs:
lint-commits:
Expand All @@ -14,12 +14,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v6.0.1
- uses: actions/checkout@v6.0.3
with:
fetch-depth: 0
- uses: actions/setup-node@v6.1.0
- uses: actions/setup-node@v6.4.0
with:
node-version: 22
node-version: 24
cache: "npm"
- run: npm ci --ignore-scripts
- run: npx commitlint --from HEAD~${{ github.event.pull_request.commits }} --to HEAD
Expand All @@ -30,12 +30,12 @@ jobs:
strategy:
matrix:
# add/remove versions as we move support forward
node-version: [18, 20, 22]
node-version: [22, 24, 26]

steps:
- uses: actions/checkout@v6.0.1
- uses: actions/checkout@v6.0.3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6.1.0
uses: actions/setup-node@v6.4.0
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
Expand All @@ -59,7 +59,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v6.1.0
with:
node-version: 22
node-version: 24

- name: Install Dependencies
run: npm ci
Expand Down