From a536e5077d8d613599e882ef4a10ae802c5f5cfe Mon Sep 17 00:00:00 2001 From: Rishabh Singh Date: Wed, 27 Sep 2023 21:13:28 +0530 Subject: [PATCH 1/2] Add support for multiple Node.js versions --- .github/workflows/re_test-integration-prepare.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/re_test-integration-prepare.yml b/.github/workflows/re_test-integration-prepare.yml index 3da507bb1..161a80972 100644 --- a/.github/workflows/re_test-integration-prepare.yml +++ b/.github/workflows/re_test-integration-prepare.yml @@ -20,13 +20,18 @@ on: jobs: prepare-integration-tests: runs-on: ubuntu-latest + strategy: + fail-fast: true + matrix: + node: [14, 16, 18] + name: unit tests on Node ${{ matrix.node }} steps: - name: Checkout uses: actions/checkout@v3 - + - uses: actions/setup-node@v3 with: - node-version: 16.14 + node-version: ${{ matrix.node }} # If this was triggered by a /integration command, check out merge commit - name: Fork based /integration checkout From 5a11e6f82ca6930e9c3a59b1c1527d3ac20503f4 Mon Sep 17 00:00:00 2001 From: Rishabh Singh Date: Wed, 27 Sep 2023 21:16:28 +0530 Subject: [PATCH 2/2] Add support for multiple Node.js versions --- .github/workflows/re_test-integration-prepare.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/re_test-integration-prepare.yml b/.github/workflows/re_test-integration-prepare.yml index 161a80972..4f2dc9727 100644 --- a/.github/workflows/re_test-integration-prepare.yml +++ b/.github/workflows/re_test-integration-prepare.yml @@ -28,7 +28,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 - - uses: actions/setup-node@v3 with: node-version: ${{ matrix.node }}