-
Notifications
You must be signed in to change notification settings - Fork 6
36 lines (31 loc) · 913 Bytes
/
audit.yml
File metadata and controls
36 lines (31 loc) · 913 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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/checkout@v2.3.1
with:
persist-credentials: false
- name: audit project
working-directory: "projects/${{ matrix.project }}"
run: npm audit --production