From 612a56e1e9fe625e1a1b97e6edc53d2258134b0d Mon Sep 17 00:00:00 2001 From: Mbaye THIAM Date: Thu, 28 Mar 2024 10:09:30 +0100 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20refactor=20using=20matrix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/units-tests.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/units-tests.yml b/.github/workflows/units-tests.yml index 839ec1d..1664101 100644 --- a/.github/workflows/units-tests.yml +++ b/.github/workflows/units-tests.yml @@ -9,15 +9,19 @@ on: jobs: unit-tests: runs-on: ubuntu-latest + strategy: + matrix: + node-version: [18.x] steps: - name: Checkout code uses: actions/checkout@v3 + with: + node-version: ${{ matrix.node-version }} - name: Set up Node.js uses: actions/setup-node@v3 with: - node-version: 18 - registry-url: https://registry.npmjs.org/ + node-version: ${{ matrix.node-version }} - name: Install dependencies run: npm install