Skip to content

Commit 5b6cd4a

Browse files
Merge pull request #5799 from BitGo/BTC-0.separate-depaudit
feat(ci): move dependency audit step to code quality matrix
2 parents 61aa6a1 + a02058d commit 5b6cd4a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,6 @@ jobs:
5959
- name: Check In-Repo Package Versions
6060
run: yarn run check-versions
6161

62-
- name: Dependency Audit
63-
run: yarn run improved-yarn-audit --min-severity high
64-
6562
- name: build packages
6663
env:
6764
# Workaround for https://github.com/nodejs/node/issues/51555
@@ -86,7 +83,7 @@ jobs:
8683
strategy:
8784
fail-fast: false
8885
matrix:
89-
check: ['lint', 'format', 'commit-lint', 'dependencies']
86+
check: ['lint', 'format', 'commit-lint', 'dependencies', 'audit']
9087

9188
steps:
9289
- uses: actions/checkout@v4
@@ -129,6 +126,10 @@ jobs:
129126
if: matrix.check == 'dependencies'
130127
run: yarn run check-deps
131128

129+
- name: Audit Dependencies
130+
if: matrix.check == 'audit'
131+
run: yarn run improved-yarn-audit --min-severity high
132+
132133
browser-test:
133134
runs-on: ubuntu-22.04
134135

0 commit comments

Comments
 (0)