Skip to content

Commit aeda5cc

Browse files
[Backport 8.14] Add Node.js 22 to unit test matrix (#2252)
(cherry picked from commit fe2d8c1) Co-authored-by: Josh Mock <joshua.mock@elastic.co>
1 parent 457b552 commit aeda5cc

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.buildkite/pipeline.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ steps:
1515
nodejs:
1616
- "18"
1717
- "20"
18+
- "22"
1819
command: ./.buildkite/run-tests.sh
1920
artifact_paths: "./junit-output/junit-*.xml"
2021
- wait: ~
@@ -26,6 +27,6 @@ steps:
2627
plugins:
2728
- junit-annotate#v2.4.1:
2829
artifacts: "junit-output/junit-*.xml"
29-
job-uuid-file-pattern: 'junit-(.*).xml'
30+
job-uuid-file-pattern: "junit-(.*).xml"
3031
fail-build-on-error: true
3132
failure-format: file

.github/workflows/nodejs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
name: Detect files changed
1010
runs-on: ubuntu-latest
1111
outputs:
12-
src-only: '${{ steps.changes.outputs.src-only }}'
12+
src-only: "${{ steps.changes.outputs.src-only }}"
1313
steps:
1414
- uses: actions/checkout@v4
1515
- uses: dorny/paths-filter/@v2.11.1
@@ -30,7 +30,7 @@ jobs:
3030
strategy:
3131
fail-fast: false
3232
matrix:
33-
node-version: [18.x, 20.x]
33+
node-version: [18.x, 20.x, 22.x]
3434
os: [ubuntu-latest, windows-latest, macOS-latest]
3535

3636
steps:
@@ -66,7 +66,7 @@ jobs:
6666

6767
strategy:
6868
matrix:
69-
node-version: [20.x]
69+
node-version: [22.x]
7070

7171
steps:
7272
- uses: actions/checkout@v3

0 commit comments

Comments
 (0)