Skip to content

Commit c63e26a

Browse files
authored
chore: bump gh action deps, drop node v20 from ci (#450)
- depedency updates are mainly switching to node v24 runtime - node v20 is now EOL, so we can stop regression testing against it
1 parent e22f3b0 commit c63e26a

17 files changed

Lines changed: 394 additions & 382 deletions

File tree

.github/actions/setup-node-pnpm/action.yml

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,18 @@ description: Install pnpm and setup Node with pnpm cache
44

55
inputs:
66
node-version:
7-
description: Node.js version to use (e.g., 20.x)
7+
description: Node.js version to use (e.g., 24.x)
88
required: true
9-
registry-url:
10-
description: NPM registry URL
11-
required: false
12-
default: https://registry.npmjs.org
13-
cache:
14-
description: Enable package manager cache
15-
required: false
16-
default: pnpm
179

1810
runs:
1911
using: composite
2012
steps:
2113
- name: Install pnpm
22-
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
14+
uses: pnpm/action-setup@903f9c1a6ebcba6cf41d87230be49611ac97822e # v6.0.3
2315

2416
- name: Use Node.js ${{ inputs.node-version }}
25-
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
17+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
2618
with:
27-
registry-url: ${{ inputs.registry-url }}
19+
registry-url: https://registry.npmjs.org
2820
node-version: ${{ inputs.node-version }}
29-
cache: ${{ inputs.cache }}
21+
cache: pnpm

.github/workflows/ci.yml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66
pull_request:
77
branches: [main]
88

9-
109
permissions:
1110
contents: read
1211

@@ -15,10 +14,10 @@ jobs:
1514
runs-on: ubuntu-latest
1615
strategy:
1716
matrix:
18-
node-version: &node-versions [20.x, 22.x, 24.x]
17+
node-version: &node-versions [22.x, 24.x]
1918

2019
steps:
21-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
20+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2221
with:
2322
fetch-depth: 0
2423
- name: setup
@@ -45,7 +44,7 @@ jobs:
4544
-cvf ${{ runner.temp }}/workspace.tar .
4645
4746
- name: Upload workspace
48-
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
47+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
4948
with:
5049
name: workspace-${{ matrix.node-version }}
5150
path: ${{ runner.temp }}/workspace.tar
@@ -58,15 +57,15 @@ jobs:
5857
matrix:
5958
node-version: [24.x]
6059
steps:
61-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
60+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6261
with:
6362
fetch-depth: 0
6463
- name: setup
6564
uses: ./.github/actions/setup-node-pnpm
6665
with:
6766
node-version: ${{ matrix.node-version }}
6867

69-
- uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
68+
- uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
7069
id: nextjs-cache
7170
with:
7271
path: packages/documentation/.next/cache
@@ -75,7 +74,7 @@ jobs:
7574
${{ runner.os }}-nextjs-${{ hashFiles('pnpm-lock.yaml') }}-
7675
7776
- name: Download built workspace
78-
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
77+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
7978
with:
8079
name: workspace-${{ matrix.node-version }}
8180
path: ${{runner.temp}}
@@ -94,15 +93,15 @@ jobs:
9493
matrix:
9594
node-version: *node-versions
9695
steps:
97-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
96+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
9897
with:
9998
fetch-depth: 0
10099
- name: setup
101100
uses: ./.github/actions/setup-node-pnpm
102101
with:
103102
node-version: ${{ matrix.node-version }}
104103
- name: Download built workspace
105-
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
104+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
106105
with:
107106
name: workspace-${{ matrix.node-version }}
108107
path: ${{runner.temp}}
@@ -125,7 +124,7 @@ jobs:
125124
node-version: *node-versions
126125
schema-builder: [joi, zod-v3, zod-v4]
127126
steps:
128-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
127+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
129128
with:
130129
fetch-depth: 0
131130
- name: setup
@@ -134,7 +133,7 @@ jobs:
134133
node-version: ${{ matrix.node-version }}
135134

136135
- name: Download built workspace
137-
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
136+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
138137
with:
139138
name: workspace-${{ matrix.node-version }}
140139
path: ${{runner.temp}}
@@ -159,7 +158,7 @@ jobs:
159158
matrix:
160159
node-version: *node-versions
161160
steps:
162-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
161+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
163162
with:
164163
fetch-depth: 0
165164
- name: setup
@@ -168,7 +167,7 @@ jobs:
168167
node-version: ${{ matrix.node-version }}
169168

170169
- name: Download built workspace
171-
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
170+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
172171
with:
173172
name: workspace-${{ matrix.node-version }}
174173
path: ${{runner.temp}}

.github/workflows/publish-docs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,19 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
14+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1515
with:
1616
fetch-depth: 0
1717

1818
- name: Install pnpm
19-
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
19+
uses: pnpm/action-setup@903f9c1a6ebcba6cf41d87230be49611ac97822e # v6.0.3
2020

2121
- name: Use Node.js
22-
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
22+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
2323
with:
2424
node-version-file: '.nvmrc'
2525

26-
- uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
26+
- uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
2727
id: nextjs-cache
2828
with:
2929
path: packages/documentation/.next/cache

.github/workflows/publish-npm.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,21 @@ jobs:
1313
runs-on: ubuntu-latest
1414
environment: prod
1515
steps:
16-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
16+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1717
with:
1818
fetch-depth: 0
1919

2020
- name: Install pnpm
21-
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
21+
uses: pnpm/action-setup@903f9c1a6ebcba6cf41d87230be49611ac97822e # v6.0.3
2222

2323
- name: Use Node.js
24-
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
24+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
2525
with:
2626
registry-url: "https://registry.npmjs.org"
2727
node-version-file: '.nvmrc'
2828
cache: "pnpm"
2929

30-
- uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
30+
- uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
3131
id: nextjs-cache
3232
with:
3333
path: packages/documentation/.next/cache

integration-tests/typescript-angular/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@
2323
"@angular/build": "^21.2.8",
2424
"@angular/cli": "^21.2.8",
2525
"@angular/compiler-cli": "^21.2.10",
26-
"typescript": "~6.0.3"
26+
"typescript": "^6.0.3"
2727
}
2828
}

integration-tests/typescript-axios/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"tslib": "^2.8.1"
1717
},
1818
"devDependencies": {
19-
"@types/node": "22.16.5",
19+
"@types/node": "^22.19.17",
2020
"typescript": "^6.0.3"
2121
}
2222
}

integration-tests/typescript-fetch/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"tslib": "^2.8.1"
1717
},
1818
"devDependencies": {
19-
"@types/node": "22.16.5",
19+
"@types/node": "^22.19.17",
2020
"typescript": "^6.0.3"
2121
}
2222
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"@swc/jest": "^0.2.39",
4949
"@tsconfig/node24": "^24.0.4",
5050
"@tsconfig/strictest": "^2.0.8",
51-
"@types/node": "22.16.5",
51+
"@types/node": "^22.19.17",
5252
"ajv": "^8.20.0",
5353
"ajv-draft-04": "^1.0.0",
5454
"ajv-formats": "^3.0.1",
@@ -78,7 +78,7 @@
7878
]
7979
},
8080
"engines": {
81-
"node": ">=20 <25"
81+
"node": ">=22"
8282
},
8383
"packageManager": "pnpm@10.33.2+sha512.a90faf6feeab71ad6c6e57f94e0fe1a12f5dcc22cd754db40ae9593eb6a3e0b6b12e3540218bb37ae083404b1f2ce6db2a4121e979829b4aff94b99f49da1cf8"
8484
}

packages/documentation/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,14 @@
4242
},
4343
"devDependencies": {
4444
"@types/lodash": "^4.17.24",
45-
"@types/node": "22.16.5",
45+
"@types/node": "^22.19.17",
4646
"@types/react": "^19.2.14",
4747
"@types/react-dom": "^19.2.3",
4848
"gh-pages": "^6.3.0",
4949
"tsx": "^4.21.0",
5050
"typescript": "^6.0.3"
51+
},
52+
"engines": {
53+
"node": ">=22"
5154
}
5255
}

packages/openapi-code-generator/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,9 @@
146146
"axios",
147147
"angular"
148148
],
149+
"engines": {
150+
"node": ">=22"
151+
},
149152
"publishConfig": {
150153
"access": "public"
151154
}

0 commit comments

Comments
 (0)