diff --git a/.changeset/lemon-seals-shake.md b/.changeset/lemon-seals-shake.md new file mode 100644 index 0000000..b2b42e3 --- /dev/null +++ b/.changeset/lemon-seals-shake.md @@ -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. diff --git a/.github/workflows/ci-cd.yaml b/.github/workflows/ci-cd.yaml index 7983182..3ead704 100644 --- a/.github/workflows/ci-cd.yaml +++ b/.github/workflows/ci-cd.yaml @@ -2,10 +2,10 @@ name: CI/CD on: push: - pull_request: - workflow_dispatch: branches: - main + pull_request: + workflow_dispatch: jobs: lint-commits: @@ -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 @@ -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" @@ -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