File tree Expand file tree Collapse file tree 1 file changed +28
-4
lines changed Expand file tree Collapse file tree 1 file changed +28
-4
lines changed Original file line number Diff line number Diff line change 4343 if : steps.cache-yarn.outputs.cache-hit != 'true'
4444 run : yarn --frozen-lockfile
4545
46- - name : Audit for vulnerabilities
47- run : yarn _audit
48- if : success()
49-
5046 - name : Run yarn fmt
5147 run : yarn fmt
5248 if : success()
6359 run : yarn coverage
6460 if : success()
6561
62+ audit-ci :
63+ name : Run audit-ci
64+ needs : prebuild
65+ runs-on : ubuntu-latest
66+ steps :
67+ - name : Checkout repo
68+ uses : actions/checkout@v2
69+
70+ - name : Install Node.js v12
71+ uses : actions/setup-node@v2
72+ with :
73+ node-version : " 12"
74+
75+ - name : Fetch dependencies from cache
76+ id : cache-yarn
77+ uses : actions/cache@v2
78+ with :
79+ path : " **/node_modules"
80+ key : yarn-build-${{ hashFiles('**/yarn.lock') }}
81+
82+ - name : Install dependencies
83+ if : steps.cache-yarn.outputs.cache-hit != 'true'
84+ run : yarn --frozen-lockfile
85+
86+ - name : Audit for vulnerabilities
87+ run : yarn _audit
88+ if : success()
89+
6690 build :
6791 name : Build
6892 needs : prebuild
You can’t perform that action at this time.
0 commit comments