From 9fce18abf22d0297ff76e4096fbace43878d8276 Mon Sep 17 00:00:00 2001 From: Jan Scheffler Date: Wed, 22 Apr 2026 13:51:44 +0200 Subject: [PATCH] =?UTF-8?q?chore:=20bump=20CI=20Node=2020=20=E2=86=92=2024?= =?UTF-8?q?=20(current=20Active=20LTS)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Node 20 (Iron) is EOL April 2026. Node 22 (Jod) moved to Maintenance LTS in Oct 2025. Node 24 (Krypton) is the current Active LTS through April 2028. Updates all three setup-node steps (ci.yml test, ci.yml publish, smoke.yml) and aligns @types/node with the runtime. Leaves the action deprecation warning for checkout/setup-node/upload- artifact v4 running on Node 20 internally — that's a separate concern and resolves itself when v5 tags ship (or via FORCE_JAVASCRIPT_ACTIONS_ TO_NODE24 if we want to force it sooner). Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/ci.yml | 4 ++-- .github/workflows/smoke.yml | 2 +- package-lock.json | 20 ++++++++++---------- package.json | 2 +- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 418e755..d5b3f8f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: '20' + node-version: '24' cache: 'npm' - run: npm ci - run: npm run compile @@ -41,7 +41,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: '20' + node-version: '24' cache: 'npm' - run: npm ci - name: Verify package.json version matches tag diff --git a/.github/workflows/smoke.yml b/.github/workflows/smoke.yml index d3b0d93..28dfd81 100644 --- a/.github/workflows/smoke.yml +++ b/.github/workflows/smoke.yml @@ -28,7 +28,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: '20' + node-version: '24' cache: 'npm' - run: npm ci - name: Run live smoke suite diff --git a/package-lock.json b/package-lock.json index fcb7aa1..0f7b900 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,17 +1,17 @@ { "name": "tfvc", - "version": "0.3.5", + "version": "0.4.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "tfvc", - "version": "0.3.5", + "version": "0.4.1", "license": "MIT", "devDependencies": { "@types/glob": "^8.1.0", "@types/mocha": "^10.0.10", - "@types/node": "^20.11.0", + "@types/node": "^24.0.0", "@types/vscode": "^1.85.0", "@vscode/test-electron": "^2.5.2", "@vscode/vsce": "^3.9.0", @@ -590,13 +590,13 @@ "license": "MIT" }, "node_modules/@types/node": { - "version": "20.19.39", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.19.39.tgz", - "integrity": "sha512-orrrD74MBUyK8jOAD/r0+lfa1I2MO6I+vAkmAWzMYbCcgrN4lCrmK52gRFQq/JRxfYPfonkr4b0jcY7Olqdqbw==", + "version": "24.12.2", + "resolved": "https://registry.npmjs.org/@types/node/-/node-24.12.2.tgz", + "integrity": "sha512-A1sre26ke7HDIuY/M23nd9gfB+nrmhtYyMINbjI1zHJxYteKR6qSMX56FsmjMcDb3SMcjJg5BiRRgOCC/yBD0g==", "dev": true, "license": "MIT", "dependencies": { - "undici-types": "~6.21.0" + "undici-types": "~7.16.0" } }, "node_modules/@types/normalize-package-data": { @@ -4859,9 +4859,9 @@ } }, "node_modules/undici-types": { - "version": "6.21.0", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz", - "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.16.0.tgz", + "integrity": "sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==", "dev": true, "license": "MIT" }, diff --git a/package.json b/package.json index 0b25df4..3d0e248 100644 --- a/package.json +++ b/package.json @@ -375,7 +375,7 @@ "devDependencies": { "@types/glob": "^8.1.0", "@types/mocha": "^10.0.10", - "@types/node": "^20.11.0", + "@types/node": "^24.0.0", "@types/vscode": "^1.85.0", "@vscode/test-electron": "^2.5.2", "@vscode/vsce": "^3.9.0",