From 6ef9e4f479c9d35bd39c0837cc63458c1ab2dd80 Mon Sep 17 00:00:00 2001 From: Koen Kanters Date: Thu, 7 Jul 2022 15:21:37 +0200 Subject: [PATCH] Fix matrix test jobs unstable (#13068) * Update ci.yml * Update ci.yml --- .github/workflows/ci.yml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 00591016e..20cfa356a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 \ No newline at end of file + run: npm run test-with-coverage