diff --git a/.github/workflows/plugins-ci-elasticsearch.yml b/.github/workflows/plugins-ci-elasticsearch.yml index afb019f..328b5c1 100644 --- a/.github/workflows/plugins-ci-elasticsearch.yml +++ b/.github/workflows/plugins-ci-elasticsearch.yml @@ -23,6 +23,11 @@ on: required: false default: false type: boolean + node-versions: + description: 'A JSON array that specifies the Node.js versions on which the job should run.' + required: false + default: '["18", "20", "21"]' + type: string jobs: dependency-review: @@ -96,11 +101,10 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [18, 20, 21] - db: ['elasticsearch:8.3.2'] + node-version: ${{ fromJson(inputs.node-versions) }} services: elasticsearch: - image: ${{ matrix.db }} + image: elasticsearch:8.13.2 ports: - '9200:9200' - '9300:9300'