From bfd29dcef82f324e9fb8855b6083fc0c2902bc27 Mon Sep 17 00:00:00 2001 From: Bryan MacFarlane Date: Sat, 4 Jan 2020 14:08:05 -0500 Subject: [PATCH] only audit on ubuntu-latest (#283) --- .github/workflows/unit-tests.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 2f192b63..e3f68737 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -50,6 +50,8 @@ jobs: - name: audit tools run: npm audit --audit-level=moderate + if: matrix.runs-on == 'ubuntu-latest' - name: audit packages run: npm run audit-all + if: matrix.runs-on == 'ubuntu-latest'