File tree Expand file tree Collapse file tree 1 file changed +21
-4
lines changed Expand file tree Collapse file tree 1 file changed +21
-4
lines changed Original file line number Diff line number Diff line change 57
57
- name : Install dependencies
58
58
run : npm ci
59
59
60
- - name : Audit dependencies
61
- run : npm audit
62
-
63
60
- name : Check for circular dependencies
64
61
run : npx madge --circular . --extensions ts,js
65
62
73
70
token : ${{ secrets.CODECOV_TOKEN }}
74
71
slug : openfga/js-sdk
75
72
73
+ audit :
74
+ runs-on : ubuntu-latest
75
+
76
+ steps :
77
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
78
+ with :
79
+ fetch-depth : 0
80
+
81
+ - name : Set up node
82
+ uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
83
+ with :
84
+ node-version : ${{ env.NODE_VERSION }}
85
+ cache : " npm"
86
+
87
+ - name : Install dependencies
88
+ run : npm ci
89
+
90
+ - name : Audit dependencies
91
+ run : npm audit
92
+
76
93
publish :
77
94
if : startsWith(github.ref, 'refs/tags/v')
78
- needs : [build, test]
95
+ needs : [build, test, audit ]
79
96
runs-on : ubuntu-latest
80
97
81
98
permissions :
You can’t perform that action at this time.
0 commit comments