Skip to content

Commit

Permalink
chore(ci): add node-github-test-reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
boneskull committed Jan 14, 2025
1 parent 08ed5b7 commit 75d0732
Show file tree
Hide file tree
Showing 3 changed files with 136 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ jobs:
- name: Lint
run: npm run lint
- name: Test
run: npm run coverage
run: npm run test:ci
133 changes: 133 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"lint:sources": "eslint .",
"prepare": "husky; npm run build",
"test": "node --import tsx --test \"./test/*.test.ts\"",
"test:ci": "c8 --all --include src -- node --import tsx --test --test-reporter=node-test-github-reporter \"./test/*.test.ts\"",
"test:update": "npm run test -- --test-update-snapshots"
},
"dependencies": {
Expand All @@ -86,6 +87,7 @@
"husky": "9.1.7",
"knip": "5.42.0",
"lint-staged": "15.3.0",
"node-test-github-reporter": "1.2.0",
"npm-run-all2": "7.0.2",
"prettier": "3.4.2",
"prettier-plugin-jsdoc": "1.3.2",
Expand Down

0 comments on commit 75d0732

Please sign in to comment.