From c0e4c90f86bbaef8a1b7edbddf403b1777e0a85f Mon Sep 17 00:00:00 2001 From: Bryan MacFarlane Date: Fri, 10 Apr 2020 10:05:05 -0400 Subject: [PATCH] format and audit only on linux --- .github/workflows/test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d41f029..a3b9963 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -43,7 +43,9 @@ jobs: - name: Format shell: bash run: npm run format-check + if: matrix.runs-on == 'ubuntu-latest' - name: audit security continue-on-error: true run: npm audit --audit-level=moderate + if: matrix.runs-on == 'ubuntu-latest'