Skip to content

Bump node version in GH workflows #9566

Bump node version in GH workflows

Bump node version in GH workflows #9566

Triggered via push January 20, 2025 13:12
Status Failure
Total duration 6m 9s
Artifacts 2

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 9 warnings
src/App.spec.tsx > should pass: myadmin/src/App.spec.tsx#L12
TestingLibraryElementError: Unable to find a label with the text of: Username * Ignored nodes: comments, script, style <body> <div> <h2> Unexpected Application Error! </h2> <h3 style="font-style: italic;" > useLocation() may be used only in the context of a &lt;Router&gt; component. </h3> <pre style="padding: 0.5rem; background-color: rgba(200, 200, 200, 0.5);" > Error: useLocation() may be used only in the context of a &lt;Router&gt; component. at invariant (/home/runner/work/react-admin/react-admin/myadmin/node_modules/react-router/dist/development/index.js:327:11) at useLocation (/home/runner/work/react-admin/react-admin/myadmin/node_modules/react-router/dist/development/index.js:4229:3) at useResetErrorBoundaryOnLocationChange (/home/runner/work/react-admin/react-admin/myadmin/node_modules/ra-core/src/routing/useResetErrorBoundaryOnLocationChange.ts:13:37) at Error (/home/runner/work/react-admin/react-admin/myadmin/node_modules/ra-ui-materialui/src/layout/Error.tsx:40:42) at Object.react-stack-bottom-frame (/home/runner/work/react-admin/react-admin/myadmin/node_modules/react-dom/cjs/react-dom-client.development.js:22428:20) at renderWithHooks (/home/runner/work/react-admin/react-admin/myadmin/node_modules/react-dom/cjs/react-dom-client.development.js:5757:22) at updateFunctionComponent (/home/runner/work/react-admin/react-admin/myadmin/node_modules/react-dom/cjs/react-dom-client.development.js:8018:19) at beginWork (/home/runner/work/react-admin/react-admin/myadmin/node_modules/react-dom/cjs/react-dom-client.development.js:9683:18) at runWithFiberInDEV (/home/runner/work/react-admin/react-admin/myadmin/node_modules/react-dom/cjs/react-dom-client.development.js:543:16) at performUnitOfWork (/home/runner/work/react-admin/react-admin/myadmin/node_modules/react-dom/cjs/react-dom-client.development.js:15052:22) </pre> <p> 💿 Hey developer 👋 </p> <p> You can provide a way better UX than this when your app throws errors by providing your own <code style="padding: 2px 4px; background-color: rgba(200, 200, 200, 0.5);" > ErrorBoundary </code> or <code style="padding: 2px 4px; background-color: rgba(200, 200, 200, 0.5);" > errorElement </code> prop on your route. </p> </div> </body> Ignored nodes: comments, script, style <body> <div> <h2> Unexpected Application Error! </h2> <h3 style="font-style: italic;" > useLocation() may be used only in the context of a &lt;Router&gt; component. </h3> <pre style="padding: 0.5rem; background-color: rgba(200, 200, 200, 0.5);" > Error: useLocation() may be used only in the context of a &lt;Router&gt; component. at invariant (/home/runner/work/react-admin/react-admin/myadmin/node_modules/react-router/dist/development/index.js:327:11) at useLocation (/home/runner/work/react-admin/react-admin/myadmin/node_modules/react-router/dist/development/index.js:4229:3) at useResetErrorBoundaryOnLocationChange (/home/runner/work/react-admin/react-admin/myadmin/node_modules/ra-core/src/routing/useResetErrorBoundaryOnLocationChange.ts:13:37) at Error (/home/runner/work/react-admin/react-admin/myadmin/node_modules/ra-ui-materialui/src/layout/Error.tsx:40:42) at Object.react-stack-bottom-frame (/home/runner/work/react-admin/react-admin/myadmin/node_modules/react-dom/cjs/react-dom-client.development.js:22428:20) at renderWithHooks (/home/runner/work/react-admin/react-admin/myadmin/node_modules/react-dom/cjs/react-dom-client.development.js:5757:22) at updateFunctionComponent (/home/runner/work/react-admin/react-admin/myadmin/node_modules/react-dom/cjs/react-dom-client.development.js:8018:19) at beginWork (/home/runner/work/react-admin/react-admin/myadmin/node_modules/react-dom/cjs/react-dom-client.development.js:9683:18) at runWithFiberInDEV (/home/runner/work/react-admin/react-admin/myadmin/nod
create-react-admin
Process completed with exit code 1.
doc-videos-format-check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
doc-check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
create-react-admin
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
typecheck
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
e2e-test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
simple-example-typecheck
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
crm
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
e-commerce
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
unit-test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636

Artifacts

Produced during runtime
Name Size
demo-build
3.89 MB
packages-build
3.24 MB