File tree 1 file changed +28
-4
lines changed
1 file changed +28
-4
lines changed Original file line number Diff line number Diff line change 43
43
if : steps.cache-yarn.outputs.cache-hit != 'true'
44
44
run : yarn --frozen-lockfile
45
45
46
- - name : Audit for vulnerabilities
47
- run : yarn _audit
48
- if : success()
49
-
50
46
- name : Run yarn fmt
51
47
run : yarn fmt
52
48
if : success()
63
59
run : yarn coverage
64
60
if : success()
65
61
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
+
66
90
build :
67
91
name : Build
68
92
needs : prebuild
You can’t perform that action at this time.
0 commit comments