From 6a884ee099ae896421f67fd2e74cd4d24dbe87b7 Mon Sep 17 00:00:00 2001 From: Nick Evans <2616208+nickevansuk@users.noreply.github.com> Date: Thu, 14 Sep 2023 19:40:25 +0100 Subject: [PATCH] Update npm-test.yml --- .github/workflows/npm-test.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/npm-test.yml b/.github/workflows/npm-test.yml index 638be61f..987e4f8b 100644 --- a/.github/workflows/npm-test.yml +++ b/.github/workflows/npm-test.yml @@ -8,14 +8,18 @@ jobs: test: runs-on: ubuntu-latest + strategy: + matrix: + version: [14, 16, 18] + steps: - name: Checkout uses: actions/checkout@v2 - - name: Setup Node.js + - name: Setup Node.js ${{ matrix.version }} uses: actions/setup-node@v3 with: check-latest: true - node-version-file: '.nvmrc' + node-version: ${{ matrix.version }} - name: Install run: npm ci - name: Test