Use $() instead of backticks (#235)
#576
Annotations
10 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: 145
* What went wrong:
Could not compile build file '/home/runner/work/react-native-node-api/react-native-node-api/node_modules/react-native-node-api/android/build.gradle'.
> startup failed:
build file '/home/runner/work/react-native-node-api/react-native-node-api/node_modules/react-native-node-api/android/build.gradle': 145: token recognition error at: '(' @ line 145, column 59.
T_NATIVE_OVERRIDE_HERMES_DIR=$(npx react
^
1 error
* 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'
}
|
|
should fail if REACT_NATIVE_OVERRIDE_HERMES_DIR is not set:
packages/host/packages/host/src/node/gradle.test.ts#L31
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /React Native Node-API needs a custom version of Hermes with Node-API enabled/. Input:
'\n' +
'FAILURE: Build failed with an exception.\n' +
'\n' +
'* Where:\n' +
"Build file '/home/runner/work/react-native-node-api/react-native-node-api/node_modules/react-native-node-api/android/build.gradle' line: 145\n" +
'\n' +
'* What went wrong:\n' +
"Could not compile build file '/home/runner/work/react-native-node-api/react-native-node-api/node_modules/react-native-node-api/android/build.gradle'.\n" +
'> startup failed:\n' +
" build file '/home/runner/work/react-native-node-api/react-native-node-api/node_modules/react-native-node-api/android/build.gradle': 145: token recognition error at: '(' @ line 145, column 59.\n" +
' T_NATIVE_OVERRIDE_HERMES_DIR=$(npx react\n' +
' ^\n' +
' \n' +
' 1 error\n' +
'\n' +
'\n' +
'* Try:\n' +
'> Run with --stacktrace option to get the stack trace.\n' +
'> Run with --info or --debug option to get more log output.\n' +
'> Run with --scan to get full insights.\n' +
'> Get more help at https://help.gradle.org.\n' +
'\n' +
'BUILD FAILED in 1m 54s\n'
at TestContext.<anonymous> (/home/runner/work/react-native-node-api/react-native-node-api/packages/host/src/node/gradle.test.ts:31: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: true,
code: 'ERR_ASSERTION',
actual: "\nFAILURE: Build failed with an exception.\n\n* Where:\nBuild file '/home/runner/work/react-native-node-api/react-native-node-api/node_modules/react-native-node-api/android/build.gradle' line: 145\n\n* What went wrong:\nCould not compile build file '/home/runner/work/react-native-node-api/react-native-node-api/node_modules/react-native-node-api/android/build.gradle'.\n> startup failed:\n build file '/home/runner/work/react-native-node-api/react-native-node-api/node_modules/react-native-node-api/android/build.gradle': 145: token recognition error at: '(' @ line 145, column 59.\n T_NATIVE_OVERRIDE_HERMES_DIR=$(npx react\n ^\n \n 1 error\n\n\n* Try:\n> Run with --stacktrace option to get the stack trace.\n> Run with --info or --debug option to get more log output.\n> Run with --scan to get full insights.\n> Get more help at https://help.gradle.org.\n\nBUILD FAILED in 1m 54s\n",
expected: /React Native Node-API needs a custom version of Hermes with Node-API enabled/,
operator: 'match',
diff: 'simple'
}
|
|
Test app (Android)
The process '/usr/bin/sh' failed with exit code 1
|
|
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: 145
* What went wrong:
Could not compile build file 'D:\a\react-native-node-api\react-native-node-api\node_modules\react-native-node-api\android\build.gradle'.
> startup failed:
build file 'D:\a\react-native-node-api\react-native-node-api\node_modules\react-native-node-api\android\build.gradle': 145: token recognition error at: '(' @ line 145, column 59.
T_NATIVE_OVERRIDE_HERMES_DIR=$(npx react
^
1 error
* 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'
}
|
|
should fail if REACT_NATIVE_OVERRIDE_HERMES_DIR is not set:
packages\host\packages\host\src\node\gradle.test.ts#L31
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /React Native Node-API needs a custom version of Hermes with Node-API enabled/. Input:
'\r\n' +
'FAILURE: Build failed with an exception.\r\n' +
'\r\n' +
'* Where:\r\n' +
"Build file 'D:\\a\\react-native-node-api\\react-native-node-api\\node_modules\\react-native-node-api\\android\\build.gradle' line: 145\r\n" +
'\r\n' +
'* What went wrong:\r\n' +
"Could not compile build file 'D:\\a\\react-native-node-api\\react-native-node-api\\node_modules\\react-native-node-api\\android\\build.gradle'.\r\n" +
'> startup failed:\r\n' +
" build file 'D:\\a\\react-native-node-api\\react-native-node-api\\node_modules\\react-native-node-api\\android\\build.gradle': 145: token recognition error at: '(' @ line 145, column 59.\r\n" +
' T_NATIVE_OVERRIDE_HERMES_DIR=$(npx react\r\n' +
' ^\r\n' +
' \r\n' +
' 1 error\r\n' +
'\r\n' +
'\r\n' +
'* Try:\r\n' +
'> Run with --stacktrace option to get the stack trace.\r\n' +
'> Run with --info or --debug option to get more log output.\r\n' +
'> Run with --scan to get full insights.\r\n' +
'> Get more help at https://help.gradle.org.\r\n' +
'\r\n' +
'BUILD FAILED in 2m 5s\r\n'
at TestContext.<anonymous> (D:\a\react-native-node-api\react-native-node-api\packages\host\src\node\gradle.test.ts:31: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: true,
code: 'ERR_ASSERTION',
actual: "\r\nFAILURE: Build failed with an exception.\r\n\r\n* Where:\r\nBuild file 'D:\\a\\react-native-node-api\\react-native-node-api\\node_modules\\react-native-node-api\\android\\build.gradle' line: 145\r\n\r\n* What went wrong:\r\nCould not compile build file 'D:\\a\\react-native-node-api\\react-native-node-api\\node_modules\\react-native-node-api\\android\\build.gradle'.\r\n> startup failed:\r\n build file 'D:\\a\\react-native-node-api\\react-native-node-api\\node_modules\\react-native-node-api\\android\\build.gradle': 145: token recognition error at: '(' @ line 145, column 59.\r\n T_NATIVE_OVERRIDE_HERMES_DIR=$(npx react\r\n ^\r\n \r\n 1 error\r\n\r\n\r\n* Try:\r\n> Run with --stacktrace option to get the stack trace.\r\n> Run with --info or --debug option to get more log output.\r\n> Run with --scan to get full insights.\r\n> Get more help at https://help.gradle.org.\r\n\r\nBUILD FAILED in 2m 5s\r\n",
expected: /React Native Node-API needs a custom version of Hermes with Node-API enabled/,
operator: 'match',
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: 145
* What went wrong:
Could not compile build file '/Users/runner/work/react-native-node-api/react-native-node-api/node_modules/react-native-node-api/android/build.gradle'.
> startup failed:
build file '/Users/runner/work/react-native-node-api/react-native-node-api/node_modules/react-native-node-api/android/build.gradle': 145: token recognition error at: '(' @ line 145, column 59.
T_NATIVE_OVERRIDE_HERMES_DIR=$(npx react
^
1 error
* 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> (/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'
}
|
|
should fail if REACT_NATIVE_OVERRIDE_HERMES_DIR is not set:
packages/host/packages/host/src/node/gradle.test.ts#L31
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /React Native Node-API needs a custom version of Hermes with Node-API enabled/. Input:
'\n' +
'FAILURE: Build failed with an exception.\n' +
'\n' +
'* Where:\n' +
"Build file '/Users/runner/work/react-native-node-api/react-native-node-api/node_modules/react-native-node-api/android/build.gradle' line: 145\n" +
'\n' +
'* What went wrong:\n' +
"Could not compile build file '/Users/runner/work/react-native-node-api/react-native-node-api/node_modules/react-native-node-api/android/build.gradle'.\n" +
'> startup failed:\n' +
" build file '/Users/runner/work/react-native-node-api/react-native-node-api/node_modules/react-native-node-api/android/build.gradle': 145: token recognition error at: '(' @ line 145, column 59.\n" +
' T_NATIVE_OVERRIDE_HERMES_DIR=$(npx react\n' +
' ^\n' +
' \n' +
' 1 error\n' +
'\n' +
'\n' +
'* Try:\n' +
'> Run with --stacktrace option to get the stack trace.\n' +
'> Run with --info or --debug option to get more log output.\n' +
'> Run with --scan to get full insights.\n' +
'> Get more help at https://help.gradle.org.\n' +
'\n' +
'BUILD FAILED in 2m 38s\n'
at TestContext.<anonymous> (/Users/runner/work/react-native-node-api/react-native-node-api/packages/host/src/node/gradle.test.ts:31: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: true,
code: 'ERR_ASSERTION',
actual: "\nFAILURE: Build failed with an exception.\n\n* Where:\nBuild file '/Users/runner/work/react-native-node-api/react-native-node-api/node_modules/react-native-node-api/android/build.gradle' line: 145\n\n* What went wrong:\nCould not compile build file '/Users/runner/work/react-native-node-api/react-native-node-api/node_modules/react-native-node-api/android/build.gradle'.\n> startup failed:\n build file '/Users/runner/work/react-native-node-api/react-native-node-api/node_modules/react-native-node-api/android/build.gradle': 145: token recognition error at: '(' @ line 145, column 59.\n T_NATIVE_OVERRIDE_HERMES_DIR=$(npx react\n ^\n \n 1 error\n\n\n* Try:\n> Run with --stacktrace option to get the stack trace.\n> Run with --info or --debug option to get more log output.\n> Run with --scan to get full insights.\n> Get more help at https://help.gradle.org.\n\nBUILD FAILED in 2m 38s\n",
expected: /React Native Node-API needs a custom version of Hermes with Node-API enabled/,
operator: 'match',
diff: 'simple'
}
|
|
Unit tests (ubuntu-latest)
Total Tests: 20
Suites π: 8
Passed β
: 20
Failed β: 0
Canceled π«: 0
Skipped βοΈ: 0
Todo π: 0
Duration π: 653.827ms
|
|
Unit tests (ubuntu-latest)
Total Tests: 3
Suites π: 2
Passed β
: 3
Failed β: 0
Canceled π«: 0
Skipped βοΈ: 0
Todo π: 0
Duration π: 461.628ms
|
|
Unit tests (ubuntu-latest)
Total Tests: 44
Suites π: 21
Passed β
: 41
Failed β: 2
Canceled π«: 0
Skipped βοΈ: 1
Todo π: 0
Duration π: 117571.569ms
|
|
Unit tests (windows-latest)
Total Tests: 20
Suites π: 8
Passed β
: 20
Failed β: 0
Canceled π«: 0
Skipped βοΈ: 0
Todo π: 0
Duration π: 907.088ms
|
|
Unit tests (windows-latest)
Total Tests: 3
Suites π: 2
Passed β
: 3
Failed β: 0
Canceled π«: 0
Skipped βοΈ: 0
Todo π: 0
Duration π: 635.106ms
|
|
Unit tests (windows-latest)
Total Tests: 44
Suites π: 21
Passed β
: 39
Failed β: 2
Canceled π«: 0
Skipped βοΈ: 3
Todo π: 0
Duration π: 130019.611ms
|
|
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
|
|
Unit tests (macos-latest)
Total Tests: 20
Suites π: 8
Passed β
: 20
Failed β: 0
Canceled π«: 0
Skipped βοΈ: 0
Todo π: 0
Duration π: 974.813ms
|
|
Unit tests (macos-latest)
Total Tests: 3
Suites π: 2
Passed β
: 3
Failed β: 0
Canceled π«: 0
Skipped βοΈ: 0
Todo π: 0
Duration π: 991.321ms
|
|
Unit tests (macos-latest)
Total Tests: 44
Suites π: 21
Passed β
: 42
Failed β: 2
Canceled π«: 0
Skipped βοΈ: 0
Todo π: 0
Duration π: 165419.333ms
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
emulator-logcat
Expired
|
116 KB |
sha256:96d65a7be94713e4a265ebaddbb9216d7b5828fdc3119c9c7168552996a4662d
|
|