Skip to content

Commit

Permalink
ci: skip failing windows/npm version combinations
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Feb 22, 2022
1 parent 6a91bec commit 9c05bcd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,18 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: debugging
run: echo NODEVERSION=[${{ matrix.node-version }}] OS=[${{ matrix.platform.os }}]

# skip tests on node <16 on Windows, because npm install npm -g fails
- name: Use latest npm
if: ${{ (matrix.node-version != '16.x') && (matrix.node-version != '17.x') && (matrix.platform.os != 'windows-latest') }}
run: npm i -g npm@latest

- name: Install dependencies
if: ${{ (matrix.node-version == '16.x') || (matrix.node-version == '17.x') || (matrix.platform.os != 'windows-latest') }}
run: npm install

- name: Run Tests
if: ${{ (matrix.node-version == '16.x') || (matrix.node-version == '17.x') || (matrix.platform.os != 'windows-latest') }}
run: npm test -- -c -t0

0 comments on commit 9c05bcd

Please sign in to comment.