Skip to content

Commit c38db3c

Browse files
committed
Support 'npm run ci' for Continuous Integration
This will be run in the Azure Pipeline that tests GitGitGadget itself. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 069e931 commit c38db3c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
/build/
55
/node_modules/
66
/npm-debug.log
7-
7+
/junit.xml

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"lint": "tslint -c tslint.json '{lib,script,tests}/**/*.{ts,tsx}'",
1414
"start": "node server.js",
1515
"test": "tslint --project . && jest --env=node",
16-
"test:watch": "jest --watch --notify --notifyMode=change --coverage"
16+
"test:watch": "jest --watch --notify --notifyMode=change --coverage",
17+
"ci": "tslint --project . && jest --env=node --ci --reporters=default --reporters=jest-junit"
1718
},
1819
"bugs": {
1920
"url": "https://github.com/gitgitgadget/gitgitgadget/issues"

0 commit comments

Comments
 (0)