diff --git a/.github/workflows/npm-test.yml b/.github/workflows/npm-test.yml index 638be61..987e4f8 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