diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b29cc6a..edd7a49 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,10 +5,15 @@ on: [push, pull_request] jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + node-version: [18, 20, "lts/*"] steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} - run: npm ci - run: npm test - run: npm run lint