diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 1fb722c..12c1f57 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -18,6 +18,11 @@ on: jobs: tests: runs-on: ubuntu-latest + strategy: + matrix: + node: + - '20' + - '22' steps: - name: Checkout uses: actions/checkout@v4 @@ -25,7 +30,7 @@ jobs: run: sudo apt-get update -q - uses: actions/setup-node@v3 with: - node-version: '20' + node-version: ${{ matrix.node }} - name: Install Yarn run: npm install -g yarn - name: install dependencies