Skip to content

Commit f3391e8

Browse files
committed
chore(CI): Audit only production dependencies
1 parent 72c5e06 commit f3391e8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ jobs:
2222
run: |
2323
yarn
2424
yarn lint
25-
yarn audit
26-
yarn build --prod
25+
yarn audit:prod
26+
yarn build
2727
yarn test --code-coverage
2828
2929
- name: Coveralls

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"build": "ng build",
77
"test": "ng test",
88
"lint": "ng lint",
9+
"audit:prod": "yarn audit --groups dependencies",
910
"preversion": "yarn lint && yarn test",
1011
"version": "yarn build",
1112
"postversion": "git push && git push --tags"

0 commit comments

Comments
 (0)