[Backport 8.14] Add Node.js 22 to unit test matrix (#2252)

(cherry picked from commit fe2d8c1915)

Co-authored-by: Josh Mock <joshua.mock@elastic.co>
This commit is contained in:
github-actions[bot]
2024-05-06 15:23:28 -05:00
committed by GitHub
parent 457b5523a7
commit aeda5cc9c7
2 changed files with 5 additions and 4 deletions

View File

@ -15,6 +15,7 @@ steps:
nodejs: nodejs:
- "18" - "18"
- "20" - "20"
- "22"
command: ./.buildkite/run-tests.sh command: ./.buildkite/run-tests.sh
artifact_paths: "./junit-output/junit-*.xml" artifact_paths: "./junit-output/junit-*.xml"
- wait: ~ - wait: ~
@ -26,6 +27,6 @@ steps:
plugins: plugins:
- junit-annotate#v2.4.1: - junit-annotate#v2.4.1:
artifacts: "junit-output/junit-*.xml" artifacts: "junit-output/junit-*.xml"
job-uuid-file-pattern: 'junit-(.*).xml' job-uuid-file-pattern: "junit-(.*).xml"
fail-build-on-error: true fail-build-on-error: true
failure-format: file failure-format: file

View File

@ -9,7 +9,7 @@ jobs:
name: Detect files changed name: Detect files changed
runs-on: ubuntu-latest runs-on: ubuntu-latest
outputs: outputs:
src-only: '${{ steps.changes.outputs.src-only }}' src-only: "${{ steps.changes.outputs.src-only }}"
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: dorny/paths-filter/@v2.11.1 - uses: dorny/paths-filter/@v2.11.1
@ -30,7 +30,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
node-version: [18.x, 20.x] node-version: [18.x, 20.x, 22.x]
os: [ubuntu-latest, windows-latest, macOS-latest] os: [ubuntu-latest, windows-latest, macOS-latest]
steps: steps:
@ -66,7 +66,7 @@ jobs:
strategy: strategy:
matrix: matrix:
node-version: [20.x] node-version: [22.x]
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3