Skip to content

Commit

Permalink
feat: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
AbigailDeng authored and AbigailDeng committed Apr 13, 2023
1 parent 290cf72 commit 72f412f
Show file tree
Hide file tree
Showing 3 changed files with 496 additions and 3 deletions.
17 changes: 14 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
"lint": "eslint src",
"proto": "node scripts/compile-proto.js",
"release": "standard-version -a",
"test": "jest --config=jest.browser.config.js --testLocationInResults",
"test:browser": "jest --config=jest.browser.config.js --testLocationInResults",
"test": "jest --config=jest.browser.config.js --ci --reporters=default --reporters=jest-junit",
"test:browser": "jest --config=jest.browser.config.js",
"test:browser:watch": "jest --config=jest.browser.config.js --watch",
"test:node": "jest --config=jest.node.config.js --testLocationInResults",
"test:node": "jest --config=jest.node.config.js",
"test:node:watch": "jest --config=jest.node.config.js --watch",
"test:coverage": "jest --config=jest.browser.config.js --coverage",
"test:coverageNode": "jest --config=jest.node.config.js --coverage"
Expand Down Expand Up @@ -96,6 +96,7 @@
"jest-environment-jsdom": "^29.4.3",
"jest-environment-jsdom-fifteen": "^1.0.2",
"jest-github-reporter": "^1.1.1",
"jest-junit": "^15.0.0",
"lint-staged": "^9.0.2",
"rimraf": "^2.6.3",
"size-limit": "^8.1.2",
Expand Down Expand Up @@ -128,5 +129,15 @@
"scripts": {
"postbump": "npm run build && git add ."
}
},
"jest-junit": {
"suiteName": "jest tests",
"outputDirectory": "reporter",
"outputName": "jest-junit.xml",
"ancestorSeparator": "",
"uniqueOutputName": "false",
"suiteNameTemplate": "{filepath}",
"classNameTemplate": "{classname}",
"titleTemplate": "{title}"
}
}
Loading

0 comments on commit 72f412f

Please sign in to comment.