From e206eb491d67e625cb1445f8fda4c05b77099a82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sarstr=C3=B6m?= Date: Mon, 29 Mar 2021 08:55:45 +0200 Subject: [PATCH] Added audit to github actions --- .github/workflows/release.yml | 2 ++ .github/workflows/test.yml | 1 + 2 files changed, 3 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 06f0b6a..cd0749d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,6 +18,8 @@ jobs: node-version: 14 - name: Install dependencies run: yarn install --immutable --silent --non-interactive 2> >(grep -v warning 1>&2) + - name: Audit + run: yarn audit - name: Build run: yarn build - name: Release diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8b8171a..00665f4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,5 +16,6 @@ jobs: with: node-version: 14.x - run: yarn install --immutable --silent --non-interactive 2> >(grep -v warning 1>&2) + - run: yarn audit - run: yarn lint - run: yarn test \ No newline at end of file