diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a31d4ea..d5776d9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,9 +3,20 @@ on: push: jobs: test: + name: Node.js v${{ matrix.node-version }} + strategy: + matrix: + node-version: + - 20 + - 22 runs-on: ubuntu-latest + timeout-minutes: 15 steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4 + with: + node-version: ${{ matrix.node-version }} + cache: npm - name: Install run: npm ci - name: Test