File tree Expand file tree Collapse file tree 2 files changed +40
-1
lines changed Expand file tree Collapse file tree 2 files changed +40
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Generate Sentinel Report
2
+
3
+ on :
4
+ repository_dispatch :
5
+ types : generate-sentinel-report
6
+
7
+ jobs :
8
+ build-and-test :
9
+ name : Build Project
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - name : Check Out Repository
13
+ uses : actions/checkout@v2
14
+
15
+ - name : Install Dependencies
16
+ run : npm ci
17
+
18
+ - name : Run Test Suite
19
+ run : npm run generate-test-report
20
+
21
+ - name : Upload Test Report
22
+ uses : actions/upload-artifact@v1
23
+ with :
24
+ name : report
25
+ path : report.json
26
+
27
+ send-data :
28
+ name : Generate Report
29
+ needs : build-and-test
30
+ runs-on : ubuntu-latest
31
+ steps :
32
+ - name : Download Report
33
+ uses : actions/download-artifact@v1
34
+ with :
35
+ name : report
36
+
37
+ - name : Send Data to Sentinel
38
+ uses : codebytere/sentinel-client@v1
39
+
Original file line number Diff line number Diff line change 9
9
"start" : " electron ." ,
10
10
"dev" : " electron . --debug" ,
11
11
"test" : " mocha && standard" ,
12
- "generate-test-report" : " mocha --reporter=json --reporter-options output= report.json" ,
12
+ "generate-test-report" : " mocha --reporter=json > report.json" ,
13
13
"package" : " npm-run-all package:*" ,
14
14
"package:mac" : " electron-packager . --overwrite --platform=darwin --arch=x64 --out=out --icon=assets/app-icon/mac/app.icns --osx-sign.identity='Developer ID Application: GitHub' --extend-info=assets/mac/info.plist" ,
15
15
"package:win" : " electron-packager . --overwrite --platform=win32 --arch=ia32 --out=out --icon=assets/app-icon/win/app.ico" ,
You can’t perform that action at this time.
0 commit comments