Skip to content

feat: extract HeaderButtonsProviders #85

feat: extract HeaderButtonsProviders

feat: extract HeaderButtonsProviders #85

Triggered via pull request April 25, 2024 20:12
Status Failure
Total duration 6h 0m 23s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 12 warnings
lint: example/src/App.tsx#L3
Cannot find module 'react-navigation-header-buttons/HeaderButtonsProvider' or its corresponding type declarations.
lint
Process completed with exit code 2.
test
The job running on runner GitHub Actions 11 has exceeded the maximum execution time of 360 minutes.
test
The operation was canceled.
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint: example/src/components/ScreenBody.tsx#L8
Inline style: { flex: 1, alignItems: 'center', padding: 20 }
lint: example/src/screens/HomeScreen.tsx#L13
Do not define components during render. React will see a new component type on every render and destroy the entire subtree’s DOM nodes and state (https://reactjs.org/docs/reconciliation.html#elements-of-different-types). Instead, move this component definition out of the parent component “HomeScreen” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
lint: example/src/screens/HomeScreen.tsx#L18
Unexpected alert
lint: example/src/screens/HomeScreen.tsx#L23
Unexpected alert
lint: example/src/screens/HomeScreen.tsx#L36
Inline style: { rowGap: 10 }
lint: example/src/screens/HomeScreen.tsx#L37
Inline style: { margin: 15 }
lint: example/src/screens/TabScreenWithButtons.tsx#L21
Do not define components during render. React will see a new component type on every render and destroy the entire subtree’s DOM nodes and state (https://reactjs.org/docs/reconciliation.html#elements-of-different-types). Instead, move this component definition out of the parent component “TabScreenWithButtons” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
lint: example/src/screens/TabScreenWithButtons.tsx#L32
Do not define components during render. React will see a new component type on every render and destroy the entire subtree’s DOM nodes and state (https://reactjs.org/docs/reconciliation.html#elements-of-different-types). Instead, move this component definition out of the parent component “TabScreenWithButtons” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.