From 6db2b2834fdd00494f88952a31eec42640ee5b8d Mon Sep 17 00:00:00 2001 From: AJ Rice <53190766+ajrice6713@users.noreply.github.com> Date: Wed, 11 Jan 2023 13:40:31 -0500 Subject: [PATCH] Add Matrix to tests --- .github/workflows/test.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 82f922d..e32abf3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,6 +8,9 @@ jobs: test: name: Test runs-on: ubuntu-latest + strategy: + matrix: + node-version: [14, 16, 18, 'latest'] steps: - name: Checkout uses: actions/checkout@v3 @@ -15,7 +18,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v3 with: - node-version: 18 + node-version: ${{ matrix.node-version }} - name: Test run: |