diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index b4146c7..ad2fa70 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -11,14 +11,13 @@ on: jobs: build: - - runs-on: ubuntu-latest - + strategy: matrix: - node-version: [18.x, 20.x, 22.x] - # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ - + os: [ubuntu-latest, windows-latest, macos-latest] + node-version: [14.x, 16.x, 18.x, 20.x, 22.x] + + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }}