Fix matrix test jobs unstable (#13068)

* Update ci.yml

* Update ci.yml
This commit is contained in:
Koen Kanters
2022-07-07 15:21:37 +02:00
committed by GitHub
parent 183dad97e7
commit 6ef9e4f479
+3 -10
View File
@@ -85,24 +85,17 @@ jobs:
continue-on-error: true
steps:
- uses: actions/checkout@v3
- name: Cache node-gyp
uses: actions/cache@v3
with:
key: ${{ matrix.os }}-${{ matrix.node }}-node-gyp
path: |
/home/runner/.cache/node-gyp
C:\Users\runneradmin\AppData\Local\node-gyp
/Users/runner/Library/Caches/node-gyp
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
registry-url: https://registry.npmjs.org/
cache: 'npm'
- name: Install dependencies
run: npm ci
# --ignore-scripts prevents the serialport build which often fails on Windows
run: npm ci --ignore-scripts
- name: Lint
run: npm run eslint
- name: Build
run: npm run build
- name: Test
run: npm run test-with-coverage
run: npm run test-with-coverage