Skip to content

Commit c640811

Browse files
committed
update node version in ci
1 parent f76f1ea commit c640811

File tree

7 files changed

+29
-31
lines changed

7 files changed

+29
-31
lines changed

.github/workflows/cloud.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060

6161
strategy:
6262
matrix:
63-
node-version: [ 20.x ]
63+
node-version: [ 22.x ]
6464
db: [ 'athena', 'bigquery', 'snowflake' ]
6565
target: [ "x86_64-unknown-linux-gnu" ]
6666
fail-fast: false

.github/workflows/drivers-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
name: Build native Linux ${{ matrix.node-version }} ${{ matrix.target }} Python ${{ matrix.python-version }}
9292
strategy:
9393
matrix:
94-
node-version: [ 20 ]
94+
node-version: [ 22 ]
9595
python-version: [ "fallback" ]
9696
target: [ "x86_64-unknown-linux-gnu" ]
9797
fail-fast: false
@@ -254,10 +254,10 @@ jobs:
254254
- name: Checkout
255255
uses: actions/checkout@v4
256256

257-
- name: Install Node.js 20.x
257+
- name: Install Node.js 22.x
258258
uses: actions/setup-node@v4
259259
with:
260-
node-version: 20.x
260+
node-version: 22.x
261261

262262
- name: Configure `yarn`
263263
run: yarn policies set-version v1.22.22

.github/workflows/master.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@ jobs:
6767
workspaces: ./rust/cubesql -> target
6868
key: cubesql-x86_64-unknown-linux-gnu
6969
shared-key: cubesql-x86_64-unknown-linux-gnu
70-
- name: Install Node.js 20
70+
- name: Install Node.js 22
7171
uses: actions/setup-node@v4
7272
with:
73-
node-version: 20
73+
node-version: 22
7474
- name: Install Yarn
7575
run: npm install -g yarn
7676
- name: Set Yarn version

.github/workflows/post-release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
strategy:
2626
fail-fast: false
2727
matrix:
28-
node-version: [20.x]
28+
node-version: [22.x]
2929
steps:
3030
- name: Checkout
3131
uses: actions/checkout@v4
@@ -103,10 +103,10 @@ jobs:
103103
steps:
104104
- name: Checkout
105105
uses: actions/checkout@v4
106-
- name: Install Node.js 20.x
106+
- name: Install Node.js 22.x
107107
uses: actions/setup-node@v4
108108
with:
109-
node-version: 20.x
109+
node-version: 22.x
110110
- name: Restore lerna
111111
uses: actions/cache@v4
112112
with:
@@ -167,10 +167,10 @@ jobs:
167167
steps:
168168
- name: Checkout
169169
uses: actions/checkout@v4
170-
- name: Install Node.js 20.x
170+
- name: Install Node.js 22.x
171171
uses: actions/setup-node@v4
172172
with:
173-
node-version: 20.x
173+
node-version: 22.x
174174
- name: Restore lerna
175175
uses: actions/cache@v4
176176
with:

.github/workflows/publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ jobs:
2626
# override: true # this is by default on
2727
rustflags: ""
2828
components: rustfmt
29-
- name: Install Node.js 20.x
29+
- name: Install Node.js 22.x
3030
uses: actions/setup-node@v4
3131
with:
32-
node-version: 20.x
32+
node-version: 22.x
3333
- name: Get yarn cache directory path
3434
id: yarn-cache-dir-path
3535
run: echo "dir=$(yarn cache dir)" >> "$GITHUB_OUTPUT"
@@ -73,7 +73,7 @@ jobs:
7373
name: Build native Linux ${{ matrix.node-version }} ${{ matrix.target }} Python ${{ matrix.python-version }}
7474
strategy:
7575
matrix:
76-
node-version: [20]
76+
node-version: [22]
7777
python-version: ["3.9", "3.10", "3.11", "3.12", "fallback"]
7878
target: ["x86_64-unknown-linux-gnu", "aarch64-unknown-linux-gnu"]
7979
include:
@@ -152,7 +152,7 @@ jobs:
152152
name: Build ${{ matrix.os-version }} ${{ matrix.target }} ${{ matrix.node-version }} Python ${{ matrix.python-version }}
153153
strategy:
154154
matrix:
155-
node-version: [20.x]
155+
node-version: [22.x]
156156
os-version: ["macos-13"]
157157
target: ["x86_64-apple-darwin", "aarch64-apple-darwin"]
158158
python-version: ["3.9", "3.10", "3.11", "3.12", "fallback"]
@@ -240,7 +240,7 @@ jobs:
240240
name: Build ${{ matrix.os-version }} ${{ matrix.node-version }} Python ${{ matrix.python-version }}
241241
strategy:
242242
matrix:
243-
node-version: [20.x]
243+
node-version: [22.x]
244244
python-version: ["fallback"]
245245
os-version: [windows-2019]
246246
include:

.github/workflows/push.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
strategy:
5555
matrix:
5656
# Current docker version + next LTS
57-
node-version: [20.x, 22.x]
57+
node-version: [22.x]
5858
# Don't forget to update build-native-release
5959
python-version: [3.11]
6060
transpile-worker-threads: [false, true]
@@ -115,7 +115,7 @@ jobs:
115115
- name: Lerna test
116116
run: yarn lerna run --concurrency 1 --stream --no-prefix unit
117117
# - uses: codecov/codecov-action@v1
118-
# if: (matrix.node-version == '20.x')
118+
# if: (matrix.node-version == '22.x')
119119
# with:
120120
# files: ./packages/*/coverage/clover.xml
121121
# flags: cube-backend
@@ -137,10 +137,10 @@ jobs:
137137
# override: true # this is by default on
138138
rustflags: ""
139139
components: rustfmt
140-
- name: Install Node.js 20.x
140+
- name: Install Node.js 22.x
141141
uses: actions/setup-node@v4
142142
with:
143-
node-version: 20.x
143+
node-version: 22.x
144144
- name: Get yarn cache directory path
145145
id: yarn-cache-dir-path
146146
run: echo "dir=$(yarn cache dir)" >> "$GITHUB_OUTPUT"
@@ -272,10 +272,10 @@ jobs:
272272
workspaces: ./packages/cubejs-backend-native
273273
key: native-${{ runner.OS }}-x86_64-unknown-linux-gnu
274274
shared-key: native-${{ runner.OS }}-x86_64-unknown-linux-gnu
275-
- name: Install Node.js 20
275+
- name: Install Node.js 22
276276
uses: actions/setup-node@v4
277277
with:
278-
node-version: 20
278+
node-version: 22
279279
- name: Install Yarn
280280
run: npm install -g yarn
281281
- name: Set Yarn version
@@ -304,7 +304,7 @@ jobs:
304304

305305
strategy:
306306
matrix:
307-
node-version: [20.x]
307+
node-version: [22.x]
308308
fail-fast: false
309309

310310
steps:
@@ -392,7 +392,7 @@ jobs:
392392

393393
strategy:
394394
matrix:
395-
node-version: [20.x]
395+
node-version: [22.x]
396396
db: [
397397
'clickhouse', 'druid', 'elasticsearch', 'mssql', 'mysql', 'postgres', 'prestodb',
398398
'mysql-aurora-serverless', 'crate', 'mongobi', 'firebolt', 'dremio', 'vertica'
@@ -479,7 +479,7 @@ jobs:
479479

480480
strategy:
481481
matrix:
482-
node-version: [ 20.x ]
482+
node-version: [ 22.x ]
483483
python-version: [ 3.11 ]
484484
fail-fast: false
485485

@@ -607,7 +607,7 @@ jobs:
607607
- 5000:5000
608608
strategy:
609609
matrix:
610-
node-version: [ 20 ]
610+
node-version: [ 22 ]
611611
target: [ "x86_64-unknown-linux-gnu" ]
612612
dockerfile:
613613
- dev.Dockerfile

.github/workflows/rust-cubesql.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -118,13 +118,11 @@ jobs:
118118
strategy:
119119
matrix:
120120
# Current used version + 1 LTS
121-
node-version: [20, 22]
121+
node-version: [22]
122122
python-version: ["3.9", "3.10", "3.11", "3.12", "fallback"]
123123
target: ["x86_64-unknown-linux-gnu", "aarch64-unknown-linux-gnu"]
124124
# minimize number of jobs
125125
exclude:
126-
- node-version: 20
127-
target: "aarch64-unknown-linux-gnu"
128126
- python-version: 3.10
129127
target: "aarch64-unknown-linux-gnu"
130128
- python-version: 3.11
@@ -221,7 +219,7 @@ jobs:
221219
strategy:
222220
matrix:
223221
# We do not need to test under all versions, we do it under linux
224-
node-version: [20.x]
222+
node-version: [22.x]
225223
os-version: ["macos-13"]
226224
target: ["x86_64-apple-darwin", "aarch64-apple-darwin"]
227225
include:
@@ -314,7 +312,7 @@ jobs:
314312
strategy:
315313
matrix:
316314
# We do not need to test under all versions, we do it under linux
317-
node-version: [20.x]
315+
node-version: [22.x]
318316
os-version: [windows-2019]
319317
python-version: ["fallback"]
320318
fail-fast: false

0 commit comments

Comments
 (0)