From 2fef1e81c993646eaf903a7b8999c2bad124111b Mon Sep 17 00:00:00 2001 From: Luke Karrys Date: Thu, 13 Oct 2022 08:19:21 -0700 Subject: [PATCH] fix: refactor audit command into a separate file for overriding --- lib/content/_step-audit.yml | 2 ++ lib/content/audit.yml | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 lib/content/_step-audit.yml diff --git a/lib/content/_step-audit.yml b/lib/content/_step-audit.yml new file mode 100644 index 00000000..901f3a64 --- /dev/null +++ b/lib/content/_step-audit.yml @@ -0,0 +1,2 @@ +- name: Run Audit + run: {{ rootNpmPath }} audit diff --git a/lib/content/audit.yml b/lib/content/audit.yml index 17a1343c..77ef4b89 100644 --- a/lib/content/audit.yml +++ b/lib/content/audit.yml @@ -9,5 +9,4 @@ on: jobs: audit: {{> job jobName="Audit Dependencies" jobDepFlags="--package-lock" }} - - name: Run Audit - run: {{ rootNpmPath }} audit + {{> stepAudit }}