From acc0c7af116bf4feb10e635e5f4239f01338b3a5 Mon Sep 17 00:00:00 2001 From: Dan Gowans Date: Wed, 25 Jan 2023 13:32:42 -0500 Subject: [PATCH] attempt testing on multiple versions of node --- .github/workflows/coverage.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 107f9574..31b0f23b 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -6,15 +6,20 @@ permissions: read-all jobs: Coverage: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest + strategy: + matrix: + node: [ 14, 16, 18 ] env: CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }} + name: Node ${{ matrix.node }} steps: - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - name: Setup Node + uses: actions/setup-node@v3 with: - node-version: '16' + node-version: ${{ matrix.node }} cache: 'npm' - name: Install Application run: |