Skip to content

Commit 11bc363

Browse files
committed
major: add node 24 in CI, remove node 18 as a supported target
1 parent a5c075e commit 11bc363

File tree

7 files changed

+11
-7
lines changed

7 files changed

+11
-7
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
matrix:
2020
os: [macos-latest, ubuntu-latest, windows-latest]
21-
node-version: ['18.20.5', '20.11.1', '22.11.0']
21+
node-version: ['20.12.1', '22.12.0']
2222
steps:
2323
- uses: actions/[email protected]
2424
with:
@@ -38,7 +38,7 @@ jobs:
3838
run: pnpm build --filter="@hey-api/**"
3939

4040
- name: Build examples
41-
if: matrix.node-version == '22.11.0' && matrix.os == 'ubuntu-latest'
41+
if: matrix.node-version == '24.0.1' && matrix.os == 'ubuntu-latest'
4242
run: pnpm build --filter="@examples/**"
4343

4444
- name: Run linter
@@ -54,7 +54,7 @@ jobs:
5454
run: pnpm test:e2e
5555

5656
- name: Publish preview packages
57-
if: github.event_name == 'pull_request' && matrix.node-version == '22.11.0' && matrix.os == 'ubuntu-latest'
57+
if: github.event_name == 'pull_request' && matrix.node-version == '24.0.1' && matrix.os == 'ubuntu-latest'
5858
run: ./scripts/publish-preview-packages.sh
5959
env:
6060
TURBO_SCM_BASE: ${{ github.event_name == 'pull_request' && github.event.pull_request.base.sha || github.event.before }}

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
22.11.0
1+
22.12.0

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"vitepress": "turbo run $1 --filter=\"@docs/openapi-ts\""
4040
},
4141
"engines": {
42-
"node": "^18.18.0 || ^20.9.0 || >=22.10.0"
42+
"node": "^20.9.0 || >=22.12.0"
4343
},
4444
"devDependencies": {
4545
"@arethetypeswrong/cli": "0.17.4",

packages/nx-plugin/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
"@nx/devkit": "21.0.3",
5454
"api-smart-diff": "^1.0.6",
5555
"latest-version": "9.0.0",
56+
"nx": "21.0.3",
5657
"swagger2openapi": "^7.0.8",
5758
"tslib": "2.8.1",
5859
"xcurl": "2.1.2"

packages/openapi-ts-tests/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"typecheck": "tsc --noEmit"
1313
},
1414
"engines": {
15-
"node": "^18.18.0 || ^20.9.0 || >=22.10.0"
15+
"node": "^20.9.0 || >=22.12.0"
1616
},
1717
"peerDependencies": {
1818
"typescript": "^5.5.3"

packages/openapi-ts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
"typecheck": "tsc --noEmit"
8686
},
8787
"engines": {
88-
"node": "^18.18.0 || ^20.9.0 || >=22.10.0"
88+
"node": "^20.9.0 || >=22.12.0"
8989
},
9090
"dependencies": {
9191
"@hey-api/json-schema-ref-parser": "1.0.6",

pnpm-lock.yaml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)