Skip to content

Commit

Permalink
Skip macos + node 16 and windows + node 22
Browse files Browse the repository at this point in the history
  • Loading branch information
cb1kenobi committed Jan 3, 2025
1 parent 7b97396 commit 1685cf9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 1685cf9

Please sign in to comment.