Check for REACT_NATIVE_OVERRIDE_HERMES_DIR earlier
#602
Annotations
6 errors and 10 notices
|
Unit tests (ubuntu-latest)
Process completed with exit code 1.
|
|
should call the CLI to autolink:
packages/host/packages/host/src/node/gradle.test.ts#L61
AssertionError [ERR_ASSERTION]: Expected success: > Task :gradle-plugin:react-native-gradle-plugin:checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :gradle-plugin:shared:checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :gradle-plugin:shared:compileKotlin UP-TO-DATE
> Task :gradle-plugin:shared:compileJava NO-SOURCE
> Task :gradle-plugin:shared:processResources NO-SOURCE
> Task :gradle-plugin:shared:classes UP-TO-DATE
> Task :gradle-plugin:shared:jar UP-TO-DATE
> Task :gradle-plugin:react-native-gradle-plugin:compileKotlin UP-TO-DATE
> Task :gradle-plugin:react-native-gradle-plugin:compileJava NO-SOURCE
> Task :gradle-plugin:react-native-gradle-plugin:pluginDescriptors UP-TO-DATE
> Task :gradle-plugin:react-native-gradle-plugin:processResources UP-TO-DATE
> Task :gradle-plugin:react-native-gradle-plugin:classes UP-TO-DATE
> Task :gradle-plugin:react-native-gradle-plugin:jar UP-TO-DATE
> Configure project :app
Signing config for 'release' build type not found; reusing debug config
[Incubating] Problems report is available at: file:///home/runner/work/react-native-node-api/react-native-node-api/apps/test-app/android/build/reports/problems/problems-report.html
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.14.3/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
6 actionable tasks: 6 up-to-date
FAILURE: Build failed with an exception.
* Where:
Build file '/home/runner/work/react-native-node-api/react-native-node-api/node_modules/react-native-node-api/android/build.gradle' line: 6
* What went wrong:
A problem occurred evaluating project ':react-native-node-api'.
> React Native Node-API needs a custom version of Hermes with Node-API enabled.
Run the following in your terminal, to clone Hermes and instruct React Native to use it:
export REACT_NATIVE_OVERRIDE_HERMES_DIR=$(npx react-native-node-api vendor-hermes --silent --force)
And follow this guide to build React Native from source:
https://reactnative.dev/contributing/how-to-build-from-source#update-your-project-to-build-from-source
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
BUILD FAILED in 1s
1 !== 0
at TestContext.<anonymous> (/home/runner/work/react-native-node-api/react-native-node-api/packages/host/src/node/gradle.test.ts:61:16)
at Test.runInAsyncScope (node:async_hooks:214:14)
at Test.run (node:internal/test_runner/test:1047:25)
at Test.start (node:internal/test_runner/test:944:17)
at node:internal/test_runner/test:1440:71
at node:internal/per_context/primordials:483:82
at new Promise (<anonymous>)
at new SafePromise (node:internal/per_context/primordials:451:29)
at node:internal/per_context/primordials:483:9
at Array.map (<anonymous>) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: 1,
expected: 0,
operator: 'strictEqual',
diff: 'simple'
}
|
|
Unit tests (macos-latest)
Process completed with exit code 1.
|
|
should call the CLI to autolink:
packages/host/packages/host/src/node/gradle.test.ts#L61
AssertionError [ERR_ASSERTION]: Expected success: > Task :gradle-plugin:react-native-gradle-plugin:checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :gradle-plugin:shared:checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :gradle-plugin:shared:compileKotlin UP-TO-DATE
> Task :gradle-plugin:shared:compileJava NO-SOURCE
> Task :gradle-plugin:shared:processResources NO-SOURCE
> Task :gradle-plugin:shared:classes UP-TO-DATE
> Task :gradle-plugin:shared:jar UP-TO-DATE
> Task :gradle-plugin:react-native-gradle-plugin:compileKotlin UP-TO-DATE
> Task :gradle-plugin:react-native-gradle-plugin:compileJava NO-SOURCE
> Task :gradle-plugin:react-native-gradle-plugin:pluginDescriptors UP-TO-DATE
> Task :gradle-plugin:react-native-gradle-plugin:processResources UP-TO-DATE
> Task :gradle-plugin:react-native-gradle-plugin:classes UP-TO-DATE
> Task :gradle-plugin:react-native-gradle-plugin:jar UP-TO-DATE
> Configure project :app
Signing config for 'release' build type not found; reusing debug config
[Incubating] Problems report is available at: file:///Users/runner/work/react-native-node-api/react-native-node-api/apps/test-app/android/build/reports/problems/problems-report.html
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.14.3/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
6 actionable tasks: 6 up-to-date
FAILURE: Build failed with an exception.
* Where:
Build file '/Users/runner/work/react-native-node-api/react-native-node-api/node_modules/react-native-node-api/android/build.gradle' line: 6
* What went wrong:
A problem occurred evaluating project ':react-native-node-api'.
> React Native Node-API needs a custom version of Hermes with Node-API enabled.
Run the following in your terminal, to clone Hermes and instruct React Native to use it:
export REACT_NATIVE_OVERRIDE_HERMES_DIR=$(npx react-native-node-api vendor-hermes --silent --force)
And follow this guide to build React Native from source:
https://reactnative.dev/contributing/how-to-build-from-source#update-your-project-to-build-from-source
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
BUILD FAILED in 1s
1 !== 0
at TestContext.<anonymous> (/Users/runner/work/react-native-node-api/react-native-node-api/packages/host/src/node/gradle.test.ts:61:16)
at Test.runInAsyncScope (node:async_hooks:214:14)
at Test.run (node:internal/test_runner/test:1047:25)
at Test.start (node:internal/test_runner/test:944:17)
at node:internal/test_runner/test:1440:71
at node:internal/per_context/primordials:483:82
at new Promise (<anonymous>)
at new SafePromise (node:internal/per_context/primordials:451:29)
at node:internal/per_context/primordials:483:9
at Array.map (<anonymous>) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: 1,
expected: 0,
operator: 'strictEqual',
diff: 'simple'
}
|
|
Unit tests (windows-latest)
Process completed with exit code 1.
|
|
should call the CLI to autolink:
packages\host\packages\host\src\node\gradle.test.ts#L61
AssertionError [ERR_ASSERTION]: Expected success: > Task :gradle-plugin:react-native-gradle-plugin:checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :gradle-plugin:shared:checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :gradle-plugin:shared:compileKotlin UP-TO-DATE
> Task :gradle-plugin:shared:compileJava NO-SOURCE
> Task :gradle-plugin:shared:processResources NO-SOURCE
> Task :gradle-plugin:shared:classes UP-TO-DATE
> Task :gradle-plugin:shared:jar UP-TO-DATE
> Task :gradle-plugin:react-native-gradle-plugin:compileKotlin UP-TO-DATE
> Task :gradle-plugin:react-native-gradle-plugin:compileJava NO-SOURCE
> Task :gradle-plugin:react-native-gradle-plugin:pluginDescriptors UP-TO-DATE
> Task :gradle-plugin:react-native-gradle-plugin:processResources UP-TO-DATE
> Task :gradle-plugin:react-native-gradle-plugin:classes UP-TO-DATE
> Task :gradle-plugin:react-native-gradle-plugin:jar UP-TO-DATE
> Configure project :app
Signing config for 'release' build type not found; reusing debug config
[Incubating] Problems report is available at: file:///D:/a/react-native-node-api/react-native-node-api/apps/test-app/android/build/reports/problems/problems-report.html
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.14.3/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
6 actionable tasks: 6 up-to-date
FAILURE: Build failed with an exception.
* Where:
Build file 'D:\a\react-native-node-api\react-native-node-api\node_modules\react-native-node-api\android\build.gradle' line: 6
* What went wrong:
A problem occurred evaluating project ':react-native-node-api'.
> React Native Node-API needs a custom version of Hermes with Node-API enabled.
Run the following in your terminal, to clone Hermes and instruct React Native to use it:
export REACT_NATIVE_OVERRIDE_HERMES_DIR=$(npx react-native-node-api vendor-hermes --silent --force)
And follow this guide to build React Native from source:
https://reactnative.dev/contributing/how-to-build-from-source#update-your-project-to-build-from-source
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
BUILD FAILED in 2s
1 !== 0
at TestContext.<anonymous> (D:\a\react-native-node-api\react-native-node-api\packages\host\src\node\gradle.test.ts:61:16)
at Test.runInAsyncScope (node:async_hooks:214:14)
at Test.run (node:internal/test_runner/test:1047:25)
at Test.start (node:internal/test_runner/test:944:17)
at node:internal/test_runner/test:1440:71
at node:internal/per_context/primordials:483:82
at new Promise (<anonymous>)
at new SafePromise (node:internal/per_context/primordials:451:29)
at node:internal/per_context/primordials:483:9
at Array.map (<anonymous>) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: 1,
expected: 0,
operator: 'strictEqual',
diff: 'simple'
}
|
|
Unit tests (ubuntu-latest)
Total Tests: 20
Suites 📂: 8
Passed ✅: 20
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 623.844ms
|
|
Unit tests (ubuntu-latest)
Total Tests: 3
Suites 📂: 2
Passed ✅: 3
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 432.426ms
|
|
Unit tests (ubuntu-latest)
Total Tests: 44
Suites 📂: 21
Passed ✅: 42
Failed ❌: 1
Canceled 🚫: 0
Skipped ⏭️: 1
Todo 📝: 0
Duration 🕐: 148178.328ms
|
|
Unit tests (macos-latest)
Total Tests: 20
Suites 📂: 8
Passed ✅: 20
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 480.769ms
|
|
Unit tests (macos-latest)
Total Tests: 3
Suites 📂: 2
Passed ✅: 3
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 529.876ms
|
|
Unit tests (macos-latest)
Total Tests: 44
Suites 📂: 21
Passed ✅: 43
Failed ❌: 1
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 120004.062ms
|
|
Unit tests (windows-latest)
Total Tests: 20
Suites 📂: 8
Passed ✅: 20
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 1268.857ms
|
|
Unit tests (windows-latest)
Total Tests: 3
Suites 📂: 2
Passed ✅: 3
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 616.485ms
|
|
Unit tests (windows-latest)
Total Tests: 44
Suites 📂: 21
Passed ✅: 40
Failed ❌: 1
Canceled 🚫: 0
Skipped ⏭️: 3
Todo 📝: 0
Duration 🕐: 197707.367ms
|
|
Unit tests (windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
emulator-logcat
Expired
|
127 KB |
sha256:441615608d857b2572af5d2777aabde0ef7652ffc9da7cb4fa88b07bfc09d664
|
|