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 5757 - name : Install dependencies
5858 run : npm ci
5959
60- - name : Audit dependencies
61- run : npm audit
62-
6360 - name : Check for circular dependencies
6461 run : npx madge --circular . --extensions ts,js
6562
7370 token : ${{ secrets.CODECOV_TOKEN }}
7471 slug : openfga/js-sdk
7572
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+
7693 publish :
7794 if : startsWith(github.ref, 'refs/tags/v')
78- needs : [build, test]
95+ needs : [build, test, audit ]
7996 runs-on : ubuntu-latest
8097
8198 permissions :
You can’t perform that action at this time.
0 commit comments