File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change @@ -138,3 +138,51 @@ jobs:
138138
139139 - name : Check Licenses
140140 run : npm run check-licenses
141+
142+ audit-prod :
143+ name : Audit - Production
144+ runs-on : ubuntu-latest
145+ timeout-minutes : 15
146+ steps :
147+ - name : Checkout
148+ uses : actions/checkout@v5
149+
150+ - name : Setup Node.js
151+ uses : actions/setup-node@v5
152+ with :
153+ cache : ' npm'
154+ node-version : ${{ env.NODE_VERSION }}
155+ registry-url : ' https://npm.pkg.github.com'
156+ scope : ' @deepnote'
157+
158+ - name : Install dependencies
159+ run : npm ci --prefer-offline --no-audit
160+ env :
161+ NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
162+
163+ - name : Run audit for production dependencies
164+ run : npm audit --production
165+
166+ audit-all :
167+ name : Audit - All
168+ runs-on : ubuntu-latest
169+ timeout-minutes : 15
170+ steps :
171+ - name : Checkout
172+ uses : actions/checkout@v5
173+
174+ - name : Setup Node.js
175+ uses : actions/setup-node@v5
176+ with :
177+ cache : ' npm'
178+ node-version : ${{ env.NODE_VERSION }}
179+ registry-url : ' https://npm.pkg.github.com'
180+ scope : ' @deepnote'
181+
182+ - name : Install dependencies
183+ run : npm ci --prefer-offline --no-audit
184+ env :
185+ NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
186+
187+ - name : Run audit for all dependencies
188+ run : npm audit
You can’t perform that action at this time.
0 commit comments