Skip to content

Audit

Audit #381

Workflow file for this run

name: Audit
on:
push:
paths: [
"projects/client-api/package.json",
"projects/client-api/package-lock.json",
"projects/client-api-react/package.json",
"projects/client-api-react/package-lock.json",
"projects/node-api/package.json",
"projects/node-api/package-lock.json"
] # Trigger the action only when files change in the folders defined here
tags:
#Test main bidaily @ 1a
schedule:
- cron: '0 1 1-31/2 * *'
workflow_dispatch:
jobs:
audit:
runs-on: ubuntu-latest
strategy:
max-parallel: 2
matrix:
project: [js-upload-api, client-api, client-api-react, node-api]
steps:
- name: Checkout 🛎️
uses: actions/[email protected]
with:
persist-credentials: false
- name: audit project
working-directory: "projects/${{ matrix.project }}"
run: npm audit --production