File tree Expand file tree Collapse file tree 1 file changed +21
-18
lines changed
Expand file tree Collapse file tree 1 file changed +21
-18
lines changed Original file line number Diff line number Diff line change 11name : Security Scans
22
33on :
4- push :
5- branches :
6- - main
7- pull_request :
8- workflow_dispatch :
4+ push :
5+ branches :
6+ - master
7+ pull_request :
8+ workflow_dispatch :
99
10+ permissions :
11+ contents : read
1012jobs :
11- security-scans :
12- runs-on : ubuntu-latest
13+ security-scans :
14+ runs-on : ubuntu-latest
15+ timeout-minutes : 10
1316
14- steps :
15- - name : Checkout Code
16- uses : actions/checkout@v4
17+ steps :
18+ - name : Checkout Code
19+ uses : actions/checkout@v4
1720
18- - name : Setup Node.js
19- uses : actions/setup-node@v4
20- with :
21- node-version : ' 20 '
21+ - name : Setup Node.js
22+ uses : actions/setup-node@v4
23+ with :
24+ node-version : " 20 "
2225
23- - name : Install Dependencies
24- run : npm install
26+ - name : Install Dependencies
27+ run : npm install
2528
26- - name : Run npm Audit
27- run : npm audit --audit-level=high || echo "npm audit failed"
29+ - name : Run npm Audit
30+ run : npm audit --audit-level=high || echo "npm audit failed"
You can’t perform that action at this time.
0 commit comments