UNPKG

@reporters/github

Version:

A github actions reporter for `node:test`

340 lines (153 loc) 15 kB
# Changelog ## [2.1.1](https://github.com/MoLow/reporters/compare/github-v2.1.0...github-v2.1.1) (2026-08-03) ### Bug Fixes * **gh,github,junit:** attach test:log to the test that emitted it ([#275](https://github.com/MoLow/reporters/issues/275)) ([4ae4b04](https://github.com/MoLow/reporters/commit/4ae4b0415cf5c6aa7de66443e45586f34c6dd77a)) ## [2.1.0](https://github.com/MoLow/reporters/compare/github-v2.0.2...github-v2.1.0) (2026-08-03) ### Features * support test:log for real-time per-test logging ([#272](https://github.com/MoLow/reporters/issues/272)) ([e1c91a4](https://github.com/MoLow/reporters/commit/e1c91a42ff8900402c75290f4a869281b5cc998f)) ## [2.0.2](https://github.com/MoLow/reporters/compare/github-v2.0.1...github-v2.0.2) (2026-07-02) ### Documentation * flag-order fixes and the gh collapsible actions log ([#216](https://github.com/MoLow/reporters/issues/216)) ([131f410](https://github.com/MoLow/reporters/commit/131f4107712d6d0b899d3b8ca7a39496b6e05276)) * rewrite package READMEs with demos and clearer positioning ([#209](https://github.com/MoLow/reporters/issues/209)) ([e1265e5](https://github.com/MoLow/reporters/commit/e1265e5f6b8a0f34b80ef7ee725cede4ed16b6da)) ### Miscellaneous Chores * route this repo's tests through @reporters/mux ([#207](https://github.com/MoLow/reporters/issues/207)) ([85a5973](https://github.com/MoLow/reporters/commit/85a59737bc3d631b0293edf343b77fd82e0c459d)) * run the whole test suite through one root node --test invocation ([#213](https://github.com/MoLow/reporters/issues/213)) ([a144243](https://github.com/MoLow/reporters/commit/a1442430f005ae9638cab04b1801be944a693c36)) * update snapshots ([#191](https://github.com/MoLow/reporters/issues/191)) ([2b1bfb9](https://github.com/MoLow/reporters/commit/2b1bfb9ea1c3aeec095c9372f15e9b6f4ff90767)) ## [2.0.1](https://github.com/MoLow/reporters/compare/github-v2.0.0...github-v2.0.1) (2026-06-02) ### Documentation * explain @reporters/gh vs @reporters/github ([#187](https://github.com/MoLow/reporters/issues/187)) ([e2b86c4](https://github.com/MoLow/reporters/commit/e2b86c417513cc5940ec5d9c98686d2c0c9a54e3)) ### Miscellaneous Chores * update snapshots ([#184](https://github.com/MoLow/reporters/issues/184)) ([7717fde](https://github.com/MoLow/reporters/commit/7717fde479f6dd41bb2a11efb75e9d7c3a9712ee)) ### Tests * bring overall coverage to 100% ([#186](https://github.com/MoLow/reporters/issues/186)) ([d69194a](https://github.com/MoLow/reporters/commit/d69194a1193e76f370ac4b466648a6ccf23ecca8)) ## [2.0.0](https://github.com/MoLow/reporters/compare/github-v1.13.1...github-v2.0.0) (2026-05-24) ### ⚠ BREAKING CHANGES * packages are now ESM-only. CommonJS consumers require Node.js >=22 (for require(esm)); reporters loaded via Node's --test-reporter flag continue to work on all supported versions. ### Features * convert packages to ESM, upgrade Node and Yarn ([d4cd2eb](https://github.com/MoLow/reporters/commit/d4cd2ebcd9d1f700d297768f937519079da17ec0)) ### Miscellaneous Chores * update snapshots ([69a3595](https://github.com/MoLow/reporters/commit/69a359567fe61a0cd218b636640abdec8d276257)) * update snapshots ([#180](https://github.com/MoLow/reporters/issues/180)) ([92339de](https://github.com/MoLow/reporters/commit/92339de636cc97b9ad8df51d6974d8e8c5e74cb7)) ## [1.13.1](https://github.com/MoLow/reporters/compare/github-v1.13.0...github-v1.13.1) (2026-04-19) ### Bug Fixes * **github:** tolerate test:fail events without a details.error ([#175](https://github.com/MoLow/reporters/issues/175)) ([3c2da34](https://github.com/MoLow/reporters/commit/3c2da34398246ef8be55558e9850d67abbf62c12)) ### Miscellaneous Chores * update snapshots ([#173](https://github.com/MoLow/reporters/issues/173)) ([5637d57](https://github.com/MoLow/reporters/commit/5637d575a8efa1b495f5f1de62ecd7eece21e4ff)) ## [1.13.0](https://github.com/MoLow/reporters/compare/github-v1.12.0...github-v1.13.0) (2026-04-16) ### Features * handle test:interrupted event ([#172](https://github.com/MoLow/reporters/issues/172)) ([79f71f4](https://github.com/MoLow/reporters/commit/79f71f483f5fac4776583bdba91f011f3e6124b5)) ### Miscellaneous Chores * update snapshots ([#169](https://github.com/MoLow/reporters/issues/169)) ([8791cab](https://github.com/MoLow/reporters/commit/8791cab49ede1921862a64d7b3b864ea6f5f80ef)) * update snapshots ([#171](https://github.com/MoLow/reporters/issues/171)) ([889b64f](https://github.com/MoLow/reporters/commit/889b64fda81bc376c08560af8ec5218d01830d2f)) ## [1.12.0](https://github.com/MoLow/reporters/compare/github-v1.11.1...github-v1.12.0) (2026-01-28) ### Features * **gh:** style todo diffrently ([#167](https://github.com/MoLow/reporters/issues/167)) ([de565dd](https://github.com/MoLow/reporters/commit/de565dd74d9a788880277112475a78dcb47338b2)) ## [1.11.1](https://github.com/MoLow/reporters/compare/github-v1.11.0...github-v1.11.1) (2026-01-28) ### Bug Fixes * **deps:** upgrade @actions/core to version 2.0.3 ([#158](https://github.com/MoLow/reporters/issues/158)) ([e26e326](https://github.com/MoLow/reporters/commit/e26e32672a4fd2b6a922c7983baef6b0dcf3f9b2)) ### Miscellaneous Chores * update snapshots ([#160](https://github.com/MoLow/reporters/issues/160)) ([7ba5ae0](https://github.com/MoLow/reporters/commit/7ba5ae0c43ccc2dcbf12540320519903f6d09545)) ## [1.11.0](https://github.com/MoLow/reporters/compare/github-v1.10.0...github-v1.11.0) (2025-09-02) ### Features * **gh:** nicer output for duration in summary ([#154](https://github.com/MoLow/reporters/issues/154)) ([f03c0dd](https://github.com/MoLow/reporters/commit/f03c0dd6d3c90fffab4fcf06b1d631cdf275de08)) ## [1.10.0](https://github.com/MoLow/reporters/compare/github-v1.9.3...github-v1.10.0) (2025-08-26) ### Features * nicer error messages in GitHub Actions ([#150](https://github.com/MoLow/reporters/issues/150)) ([c6f942b](https://github.com/MoLow/reporters/commit/c6f942b78beb7b19a51d1a1d57e4274e47f1a3c5)) ## [1.9.3](https://github.com/MoLow/reporters/compare/github-v1.9.2...github-v1.9.3) (2025-08-26) ### Bug Fixes * **github:** add missing file ([#146](https://github.com/MoLow/reporters/issues/146)) ([5d302bb](https://github.com/MoLow/reporters/commit/5d302bb7abe1d20b447c9c8881aecb5945efdc95)) ## [1.9.2](https://github.com/MoLow/reporters/compare/github-v1.9.1...github-v1.9.2) (2025-08-26) ### Bug Fixes * **gh:** fix error grouping issues ([#144](https://github.com/MoLow/reporters/issues/144)) ([13bf329](https://github.com/MoLow/reporters/commit/13bf3296621a1d2cf3131a7b33e9c2cf9d661e76)) ## [1.9.1](https://github.com/MoLow/reporters/compare/github-v1.9.0...github-v1.9.1) (2025-08-06) ### Miscellaneous Chores * **gh:** rename github-spec to gh ([#140](https://github.com/MoLow/reporters/issues/140)) ([0c50f28](https://github.com/MoLow/reporters/commit/0c50f2893236a5e841683c99ca61269c19f56d5e)) ## [1.9.0](https://github.com/MoLow/reporters/compare/github-v1.8.0...github-v1.9.0) (2025-08-06) ### Features * **github-spec:** new combined reporter ([#136](https://github.com/MoLow/reporters/issues/136)) ([17a051f](https://github.com/MoLow/reporters/commit/17a051f4b4a23ad5f2e19aae58c3803970f7ba47)) ## [1.8.0](https://github.com/MoLow/reporters/compare/github-v1.7.2...github-v1.8.0) (2025-07-31) ### Features * silence diagnostics ([#135](https://github.com/MoLow/reporters/issues/135)) ([6f43c3d](https://github.com/MoLow/reporters/commit/6f43c3d666a59abbac1f54dbf7c61c6bcc71c854)) ### Miscellaneous Chores * update snapshots ([#133](https://github.com/MoLow/reporters/issues/133)) ([8a689d2](https://github.com/MoLow/reporters/commit/8a689d2fd4f1d389aceb1825c9ce82c1069f1dc1)) ## [1.7.2](https://github.com/MoLow/reporters/compare/github-v1.7.1...github-v1.7.2) (2024-12-10) ### Bug Fixes * **github:** correctly convert `file:` URL to path ([#131](https://github.com/MoLow/reporters/issues/131)) ([31843fc](https://github.com/MoLow/reporters/commit/31843fce34c9e4811f600113bcc6c70775b637c3)) ### Miscellaneous Chores * fix typos ([a421b9a](https://github.com/MoLow/reporters/commit/a421b9a8b2c78d9df6816994160e5b8d25914b77)) ## [1.7.1](https://github.com/MoLow/reporters/compare/github-v1.7.0...github-v1.7.1) (2024-09-10) ### Tests * update tests to reflect latest node updates ([#125](https://github.com/MoLow/reporters/issues/125)) ([2849c0f](https://github.com/MoLow/reporters/commit/2849c0f9b57375eb4dc704539fdb331b0b4cd572)) * use human readable snapshots ([#127](https://github.com/MoLow/reporters/issues/127)) ([cc7d3ba](https://github.com/MoLow/reporters/commit/cc7d3baa7b054f82a5580dfe4151d4eb3c9e8dd5)) ## [1.7.0](https://github.com/MoLow/reporters/compare/github-v1.6.0...github-v1.7.0) (2024-03-14) ### Features * add mocha reporter ([#116](https://github.com/MoLow/reporters/issues/116)) ([90ef449](https://github.com/MoLow/reporters/commit/90ef4490665e19cab1ceebf8a77e78b54e38f668)) ### Tests * migrate snapshots to snap ([#114](https://github.com/MoLow/reporters/issues/114)) ([1d3ca6a](https://github.com/MoLow/reporters/commit/1d3ca6ad12b4abb5c47adc775b47c205a4214e0a)) ## [1.6.0](https://github.com/MoLow/reporters/compare/github-v1.5.4...github-v1.6.0) (2024-02-01) ### Features * add location to notify ([#111](https://github.com/MoLow/reporters/issues/111)) ([e63d34a](https://github.com/MoLow/reporters/commit/e63d34a5b4fb040a4cb63d4db15c87d4128e7c4c)) ### Bug Fixes * remove diagnostics from summary ([#113](https://github.com/MoLow/reporters/issues/113)) ([1e95cf0](https://github.com/MoLow/reporters/commit/1e95cf0bab16785073715238b42b9fb8baebbc43)) ## [1.5.4](https://github.com/MoLow/reporters/compare/github-v1.5.3...github-v1.5.4) (2024-01-04) ### Bug Fixes * **test:** update tests ([#106](https://github.com/MoLow/reporters/issues/106)) ([8c09454](https://github.com/MoLow/reporters/commit/8c09454aeefe41e10f9466fc593ff80408d06c8a)) ## [1.5.3](https://github.com/MoLow/reporters/compare/github-v1.5.2...github-v1.5.3) (2023-09-26) ### Miscellaneous Chores * add "type" to package.json ([d8567bd](https://github.com/MoLow/reporters/commit/d8567bdd2a415919dba6ba652d2e33dc233426ce)) ## [1.5.2](https://github.com/MoLow/reporters/compare/github-v1.5.1...github-v1.5.2) (2023-08-13) ### Miscellaneous Chores * eslint fixes ([3100c40](https://github.com/MoLow/reporters/commit/3100c40ffe3a3e63afb05991f07bf8dbc23efbc9)) ## [1.5.1](https://github.com/MoLow/reporters/compare/github-v1.5.0...github-v1.5.1) (2023-07-23) ### Bug Fixes * add support for esm ([e31f5d5](https://github.com/MoLow/reporters/commit/e31f5d598e44c8e167a33cc3e97571d4402d09dd)) ## [1.5.0](https://github.com/MoLow/reporters/compare/github-v1.4.1...github-v1.5.0) (2023-07-20) ### Features * remove redundant subtests annotation ([6f22533](https://github.com/MoLow/reporters/commit/6f2253378c7ecdcbb5c38aac77dfd13b1662e0d6)) ### Bug Fixes * line reporting for ERR_TEST_FAILURE ([4fb29f3](https://github.com/MoLow/reporters/commit/4fb29f3fb8a470af8d1a9549adc7d91f465cad91)) * stacktrace mislocated ([33068bf](https://github.com/MoLow/reporters/commit/33068bf98f53f7d6d28678b63d58b4c9b04d8ece)) ### Documentation * update screenshots ([0913bf3](https://github.com/MoLow/reporters/commit/0913bf37ce83a0a240c0f28b59a1647741212612)) ### Build System * exclude redundant files ([032eb2f](https://github.com/MoLow/reporters/commit/032eb2fbb1520b3c259e2a80eb38280826e206ef)) ## [1.4.1](https://github.com/MoLow/reporters/compare/github-v1.4.0...github-v1.4.1) (2023-07-19) ### Bug Fixes * more accurate counting ([1949140](https://github.com/MoLow/reporters/commit/19491406b769f03555b3ae352ed9838e2154c855)) ## [1.4.0](https://github.com/MoLow/reporters/compare/github-v1.3.0...github-v1.4.0) (2023-07-18) ### Features * support node 18 ([02c8957](https://github.com/MoLow/reporters/commit/02c8957ffca3cb8376f7ad5a94f4627c70b7f8e5)) ## [1.3.0](https://github.com/MoLow/reporters/compare/github-v1.2.0...github-v1.3.0) (2023-07-05) ### Features * publish with provenance ([6ee1e46](https://github.com/MoLow/reporters/commit/6ee1e46040329edeb0f40f753093b6952984f001)) ## [1.2.0](https://github.com/MoLow/reporters/compare/github-v1.1.3...github-v1.2.0) (2023-05-30) ### Features * report node 20 features ([c99a76c](https://github.com/MoLow/reporters/commit/c99a76c0f6bef75abb2c053c82c88448b0c82690)) ## [1.1.3](https://github.com/MoLow/reporters/compare/github-v1.1.2...github-v1.1.3) (2023-04-03) ### Bug Fixes * allow multiple roots ([590df94](https://github.com/MoLow/reporters/commit/590df948f8a4626fc29e8ce185e08d2226a307ba)) ## [1.1.2](https://github.com/MoLow/reporters/compare/github-v1.1.1...github-v1.1.2) (2023-02-28) ### Bug Fixes * **github:** remove redundant diagnostics ([b62df32](https://github.com/MoLow/reporters/commit/b62df3280b141af763386a68b0b4e386bef907e7)) ## [1.1.1](https://github.com/MoLow/reporters/compare/github-v1.1.0...github-v1.1.1) (2023-02-28) ### Bug Fixes * **github:** silent if not running on github actions ([#33](https://github.com/MoLow/reporters/issues/33)) ([a480454](https://github.com/MoLow/reporters/commit/a480454ac7ca0471744ec00b69a6c67a1d3c8ada)) ## [1.1.0](https://github.com/MoLow/reporters/compare/github-v1.0.2...github-v1.1.0) (2023-02-02) ### Features * use reported file ([#30](https://github.com/MoLow/reporters/issues/30)) ([4c70922](https://github.com/MoLow/reporters/commit/4c709222734de88af71c5a086622c3b022d51fd5)) ## [1.0.2](https://github.com/MoLow/reporters/compare/github-v1.0.1...github-v1.0.2) (2022-12-25) ### Bug Fixes * fix package description ([cec07c7](https://github.com/MoLow/reporters/commit/cec07c70d37b3ed43947b17312a6bd58f095510f)) * some package.json links ([c51a616](https://github.com/MoLow/reporters/commit/c51a61648e29f5baca539ded1b09c2af3f5e0a4a)) ## [1.0.1](https://github.com/MoLow/reporters/compare/github-v1.0.0...github-v1.0.1) (2022-12-20) ### Bug Fixes * fix monorepos release ([8386ef0](https://github.com/MoLow/reporters/commit/8386ef0ea7bfe0c0325e171aa7122eeccb17bad3)) * fix monorepos release ([3c5ee61](https://github.com/MoLow/reporters/commit/3c5ee6126fe961363b3feccf1ba6594a0849855b)) * fix monorepos release ([7eebffb](https://github.com/MoLow/reporters/commit/7eebffb46ab627beaa2b10023a08dd3271f819e9)) * fix monorepos release ([9c66f37](https://github.com/MoLow/reporters/commit/9c66f37b010f782e70c3cdf2bf827d30c4aa71c2)) * fix monorepos release ([d844919](https://github.com/MoLow/reporters/commit/d844919c8684216155b8f1c0acc98d907b3a5cdb)) * fix monorepos release ([d5610e2](https://github.com/MoLow/reporters/commit/d5610e29db730dc4ffa3f9721a85d5f3c7749b2c)) * fix typo ([#22](https://github.com/MoLow/reporters/issues/22)) ([0308fac](https://github.com/MoLow/reporters/commit/0308fac968799a0fd877460deeaa5503bc53d09f)) * reset changelogs ([1e114ce](https://github.com/MoLow/reporters/commit/1e114ced7201cf9897f2cf79b5a4fb46f1b085fb)) ## 1.0.0 (2022-12-19) Initial release