diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ea3b343c9f..1b130234a1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,10 +11,18 @@ on: jobs: ci: + name: Test with Node ${{ matrix.node }} runs-on: ubuntu-latest - + strategy: + matrix: + node: [ 18, 20 ] steps: - uses: actions/checkout@v4 + - name: Setup node + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node }} + cache: "npm" - name: Run tests env: NODE_OPTIONS: "--max_old_space_size=8192"