Skip to content

Commit b6966f4

Browse files
try oss with all 3 versions of node
1 parent 214e7a2 commit b6966f4

1 file changed

Lines changed: 11 additions & 7 deletions

File tree

.github/workflows/pull_request.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,11 @@ jobs:
214214
integration-tests-oss:
215215
runs-on: ubuntu-latest
216216
timeout-minutes: 30
217-
name: Node.js v22 - integration oss
217+
strategy:
218+
fail-fast: false
219+
matrix:
220+
node-version: [20, 22, 24]
221+
name: Node.js v${{ matrix.node-version }} - integration oss
218222
env:
219223
CONDUCTOR_SERVER_URL: http://localhost:8080/api
220224
CONDUCTOR_SERVER_TYPE: oss
@@ -227,16 +231,16 @@ jobs:
227231
- name: Set up Node
228232
uses: actions/setup-node@v4
229233
with:
230-
node-version: "22"
234+
node-version: ${{ matrix.node-version }}
231235
cache: "npm"
232236
- name: Cache node_modules
233237
id: cache
234238
uses: actions/cache@v4
235239
with:
236240
path: node_modules
237-
key: npm-22-${{ hashFiles('package-lock.json') }}
241+
key: npm-${{ matrix.node-version }}-${{ hashFiles('package-lock.json') }}
238242
restore-keys: |
239-
npm-22-
243+
npm-${{ matrix.node-version }}-
240244
- name: Install Dependencies
241245
if: steps.cache.outputs.cache-hit != 'true'
242246
run: npm ci
@@ -247,14 +251,14 @@ jobs:
247251
- name: Run integration tests (OSS)
248252
run: npm run test:integration:oss -- --ci --runInBand --testTimeout=120000 --reporters=default --reporters=github-actions --reporters=jest-junit
249253
env:
250-
JEST_JUNIT_OUTPUT_NAME: integration-oss-test-results.xml
254+
JEST_JUNIT_OUTPUT_NAME: integration-oss-node-${{ matrix.node-version }}-test-results.xml
251255
- name: Dump Conductor logs
252256
if: failure()
253257
run: docker compose -f scripts/docker-compose-oss.yaml logs conductor-server
254258
- name: Publish Test Results
255259
uses: dorny/test-reporter@v2
256260
if: ${{ !cancelled() }}
257261
with:
258-
name: integration oss
259-
path: reports/integration-oss-test-results.xml
262+
name: integration oss (Node ${{ matrix.node-version }})
263+
path: reports/integration-oss-node-${{ matrix.node-version }}-test-results.xml
260264
reporter: jest-junit

0 commit comments

Comments
 (0)