Skip to content

Commit 4afef09

Browse files
committed
Use a reporter for GitHub Actions when testing
1 parent 520cba1 commit 4afef09

File tree

5 files changed

+88
-3
lines changed

5 files changed

+88
-3
lines changed

package-lock.json

Lines changed: 84 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"license": "MIT",
2929
"devDependencies": {
3030
"@eslint/js": "^9.19.0",
31+
"@reporters/github": "^1.7.2",
3132
"@tsconfig/node22": "^22.0.0",
3233
"@tsconfig/react-native": "3.0.5",
3334
"@types/node": "^22.13.0",

packages/cmake-rn/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"scripts": {
2020
"build": "tsc",
2121
"start": "tsx src/run.ts",
22-
"test": "tsx --test"
22+
"test": "tsx --test --test-reporter=@reporters/github --test-reporter-destination=stdout --test-reporter=spec --test-reporter-destination=stdout"
2323
},
2424
"dependencies": {
2525
"@commander-js/extra-typings": "^13.1.0",

packages/gyp-to-cmake/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"scripts": {
2121
"build": "tsc",
2222
"start": "tsx src/run.ts",
23-
"test": "tsx --test"
23+
"test": "tsx --test --test-reporter=@reporters/github --test-reporter-destination=stdout --test-reporter=spec --test-reporter-destination=stdout"
2424
},
2525
"dependencies": {
2626
"@commander-js/extra-typings": "^13.1.0",

packages/host/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"generate-weak-node-api": "tsx scripts/generate-weak-node-api.ts",
4545
"generate-weak-node-api-injector": "tsx scripts/generate-weak-node-api-injector.ts",
4646
"build-weak-node-api": "npm run generate-weak-node-api && cmake-rn --android --apple --no-auto-link --no-weak-node-api-linkage --xcframework-extension --source ./weak-node-api",
47-
"test": "tsx --test src/node/**/*.test.ts src/node/*.test.ts"
47+
"test": "tsx --test --test-reporter=@reporters/github --test-reporter-destination=stdout --test-reporter=spec --test-reporter-destination=stdout src/node/**/*.test.ts src/node/*.test.ts"
4848
},
4949
"keywords": [
5050
"react-native",

0 commit comments

Comments
 (0)