From 4bb30bc0804a35b167623fc42502cfc2080edcbc Mon Sep 17 00:00:00 2001 From: Nathan Burg Date: Thu, 16 Apr 2026 16:45:13 -0700 Subject: [PATCH] chore(ci): migrate workflows and package metadata to Node 24 Upgrade GitHub Actions to Node 24-compatible action versions, align release Node with .node-version, raise the supported Node baseline to 24, and bump the package version to 0.1.7 for the next release. --- .github/workflows/ci.yml | 10 +++------- .github/workflows/release.yml | 6 +++--- README.md | 2 +- package.json | 4 ++-- 4 files changed, 9 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7f20771e..560a36ec 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup Bun uses: oven-sh/setup-bun@v2 @@ -50,10 +50,6 @@ jobs: fail-fast: false matrix: include: - - runtime: Node 20.x - node-version: "20.x" - - runtime: Node 22.x - node-version: "22.x" - runtime: Node 24.x node-version: "24.x" - runtime: Bun @@ -61,7 +57,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup Bun uses: oven-sh/setup-bun@v2 @@ -70,7 +66,7 @@ jobs: - name: Setup Node.js ${{ matrix.node-version }} if: matrix.node-version != '' - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version: ${{ matrix.node-version }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 36460b5b..242b79ec 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,7 @@ jobs: id-token: write # Required for OIDC trusted publishing steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 @@ -42,9 +42,9 @@ jobs: - name: Setup Node.js if: steps.version.outputs.should_release == 'true' - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: - node-version: "22" + node-version-file: ".node-version" registry-url: "https://registry.npmjs.org" # Trusted publishing requires npm 11.5.1+ diff --git a/README.md b/README.md index 5bd4cf00..dd9e17f8 100644 --- a/README.md +++ b/README.md @@ -93,7 +93,7 @@ After the initial `npm link`, only `bun run build` is needed for subsequent chan ## Requirements -- Node.js 20 or later +- Node.js 24 or later ## License diff --git a/package.json b/package.json index f9f8088e..d891fcad 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "githits", "description": "CLI companion for GitHits - code examples from global open source for developers and AI assistants", - "version": "0.1.6", + "version": "0.1.7", "type": "module", "files": [ "dist", @@ -54,7 +54,7 @@ "url": "https://github.com/githits-com/githits-cli/issues" }, "engines": { - "node": ">=20" + "node": ">=24" }, "publishConfig": { "access": "public"