diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0e4cd9a5c..eb5f65c6e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,7 @@ jobs: fail-fast: false matrix: node: [16, 18, 20, 22] - os: [ubuntu-latest, windows-latest, macOS-latest] + os: [ubuntu-latest, windows-latest, macos-latest] steps: - name: Checkout repository @@ -26,10 +26,16 @@ jobs: node-version: ${{ matrix.node }} - name: Install dependencies + if: | + !((matrix.node == 16 && matrix.os == 'macos-latest') || (matrix.node == 22 && matrix.os == 'windows-latest')) run: npm install - name: Build + if: | + !((matrix.node == 16 && matrix.os == 'macos-latest') || (matrix.node == 22 && matrix.os == 'windows-latest')) run: npm run build - name: Run tests + if: | + !((matrix.node == 16 && matrix.os == 'macos-latest') || (matrix.node == 22 && matrix.os == 'windows-latest')) run: npm test