Skip to content

Commit a80c597

Browse files
committed
Disable fail-fast, update NPM only if on latest Node.js
1 parent 05c904b commit a80c597

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
build:
77
runs-on: ${{ matrix.os }}
88
strategy:
9-
# fail-fast: false
9+
fail-fast: false
1010
matrix:
1111
os: [ubuntu-latest]
1212
node-version:
@@ -28,9 +28,10 @@ jobs:
2828
with:
2929
node-version: ${{ matrix.node-version }}
3030
- name: Update npm?
31+
if: ${{ matrix.node_version == 'latest' }}
3132
run: npm i -g npm
3233
- name: Install dependencies
33-
run: npm ci
34+
run: type -a npm && npm ci
3435
- name: Run test suite
3536
run: node sdkdo tests
3637
env:

0 commit comments

Comments
 (0)