File tree Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 1717 cache : ' npm'
1818
1919 - name : Run tests
20- run : npm t
20+ run : npm run test:ci
21+
22+ - name : Test Report
23+ uses : dorny/test-reporter@v2
24+ if : ${{ !cancelled() }}
25+ with :
26+ name : Node tests
27+ path : report.xml
28+ reporter : jest-junit
Original file line number Diff line number Diff line change 33# Useful .gitignore templates: https://github.com/github/gitignore
44node_modules
55dist
6- .cache
6+ .cache
7+ report.xml
Original file line number Diff line number Diff line change 1212 "author" : " David Da Silva" ,
1313 "scripts" : {
1414 "test" : " node --test" ,
15+ "test:ci" : " node --test --test-reporter=junit --test-reporter-destination=report.xml " ,
1516 "start" : " npx http-server" ,
1617 "build" : " echo \" No need for that\" && exit 0"
1718 },
You can’t perform that action at this time.
0 commit comments