Skip to content

feat: update react peer dependency to react@18 (#1624) #4774

feat: update react peer dependency to react@18 (#1624)

feat: update react peer dependency to react@18 (#1624) #4774

Triggered via push October 29, 2024 17:02
Status Failure
Total duration 42m 56s
Artifacts 1
Matrix: e2e
Fit to window
Zoom out
Zoom in

Annotations

1 error and 50 warnings
publish
The automated release failed with Error: Command failed with exit code 1: npm version 9.13.0 --userconfig /tmp/57ea0ac6ed1b14c9d697991ba618747e/.npmrc --no-git-tag-version --allow-same-version npm warn ERESOLVE overriding peer dependency npm warn While resolving: @cucumber/html-formatter@21.3.1 npm warn Found: @cucumber/messages@25.0.1 npm warn node_modules/@cucumber/html-formatter/node_modules/@cucumber/messages npm warn npm warn Could not resolve dependency: npm warn peer @cucumber/messages@">=18" from @cucumber/html-formatter@21.3.1 npm warn node_modules/@cucumber/html-formatter npm warn @cucumber/html-formatter@"21.3.1" from @cucumber/cucumber@10.8.0 npm warn node_modules/@cucumber/cucumber npm warn ERESOLVE overriding peer dependency npm warn While resolving: @cucumber/message-streams@4.0.1 npm warn Found: @cucumber/messages@25.0.1 npm warn node_modules/@cucumber/message-streams/node_modules/@cucumber/messages npm warn npm warn Could not resolve dependency: npm warn peer @cucumber/messages@">=17.1.1" from @cucumber/message-streams@4.0.1 npm warn node_modules/@cucumber/message-streams npm warn @cucumber/message-streams@"4.0.1" from @cucumber/cucumber@10.8.0 npm warn node_modules/@cucumber/cucumber npm warn 2 more (@cucumber/gherkin-streams, @badeball/cypress-cucumber-preprocessor) npm error code ERESOLVE npm error ERESOLVE could not resolve npm error npm error While resolving: @testing-library/react@16.0.1 npm error Found: @types/react@17.0.80 npm error node_modules/@types/react npm error peer @types/react@">=16.14.0" from the root project npm error @types/react@"*" from react-loadable@5.5.2 npm error node_modules/react-loadable npm error peer react-loadable@"*" from react-loadable-ssr-addon-v5-slorber@1.0.1 npm error node_modules/react-loadable-ssr-addon-v5-slorber npm error react-loadable-ssr-addon-v5-slorber@"^1.0.1" from @docusaurus/core@2.4.3 npm error node_modules/@docusaurus/core npm error @docusaurus/core@"2.4.3" from @docusaurus/plugin-content-blog@2.4.3 npm error node_modules/@docusaurus/plugin-content-blog npm error 11 more (@docusaurus/plugin-content-docs, ...) npm error react-loadable@"npm:@docusaurus/react-loadable@5.5.2" from @docusaurus/core@2.4.3 npm error node_modules/@docusaurus/core npm error @docusaurus/core@"2.4.3" from @docusaurus/plugin-content-blog@2.4.3 npm error node_modules/@docusaurus/plugin-content-blog npm error @docusaurus/plugin-content-blog@"2.4.3" from @docusaurus/preset-classic@2.4.3 npm error node_modules/@docusaurus/preset-classic npm error 2 more (@docusaurus/theme-classic, @docusaurus/theme-common) npm error 11 more (@docusaurus/plugin-content-docs, ...) npm error 1 more (@docusaurus/module-type-aliases) npm error 11 more (@docsearch/react, @docusaurus/module-type-aliases, ...) npm error npm error Could not resolve dependency: npm error peerOptional @types/react@"^18.0.0" from @testing-library/react@16.0.1 npm error node_modules/@testing-library/react npm error dev @testing-library/react@"^16.0.1" from the root project npm error npm error Conflicting peer dependency: @types/react@18.3.12 npm error node_modules/@types/react npm error peerOptional @types/react@"^18.0.0" from @testing-library/react@16.0.1 npm error node_modules/@testing-library/react npm error dev @testing-library/react@"^16.0.1" from the root project npm error npm error Fix the upstream dependency conflict, or retry npm error this command with --force or --legacy-peer-deps npm error to accept an incorrect (and potentially broken) dependency resolution. npm error npm error npm error For a full report see: npm error /home/runner/.npm/_logs/2024-10-29T17_44_46_588Z-eresolve-report.txt npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2024-10-29T17_44_46_588Z-debug-0.log @dhis2/ui-forms v9.13.0
setup-matrix
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
setup-matrix
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, c-hive/gha-yarn-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v3, c-hive/gha-yarn-cache@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, c-hive/gha-yarn-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v3, c-hive/gha-yarn-cache@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, c-hive/gha-yarn-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v3, c-hive/gha-yarn-cache@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint: components/alert/src/alert-bar/alert-bar.js#L101
React Hook useEffect has missing dependencies: 'inDOM', 'runHideAnimation', and 'runShowAnimation'. Either include them or remove the dependency array
lint: components/button/src/button/button.js#L38
React Hook useEffect has an unnecessary dependency: 'ref.current'. Either exclude it or remove the dependency array. Mutable values like 'ref.current' aren't valid dependencies because mutating them doesn't re-render the component
lint: components/intersection-detector/src/intersection-detector.js#L62
React Hook useEffect has missing dependencies: 'onChange', 'rootRef', and 'threshold'. Either include them or remove the dependency array. Mutable values like 'rootRef.current' aren't valid dependencies because mutating them doesn't re-render the component
lint: components/organisation-unit-tree/src/organisation-unit-node/use-open-state.js#L29
React Hook useEffect has missing dependencies: 'onExpand' and 'path'. Either include them or remove the dependency array. If 'onExpand' changes too often, find the parent component that defines it and wrap that definition in useCallback
lint: components/organisation-unit-tree/src/organisation-unit-node/use-org-children.js#L47
React Hook useMemo has a missing dependency: 'node.children'. Either include it or remove the dependency array
lint: components/organisation-unit-tree/src/organisation-unit-node/use-org-children.js#L55
React Hook useEffect has a missing dependency: 'node'. Either include it or remove the dependency array
lint: components/organisation-unit-tree/src/organisation-unit-tree/use-force-reload.js#L19
React Hook useEffect has a missing dependency: 'reloadId'. Either include it or remove the dependency array
lint: components/sharing-dialog/src/autocomplete/sharing-autocomplete.js#L37
React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead
lint: components/sharing-dialog/src/autocomplete/sharing-autocomplete.js#L50
React Hook useEffect has missing dependencies: 'debouncedRefetch', 'onSelection', and 'selected'. Either include them or remove the dependency array. If 'onSelection' changes too often, find the parent component that defines it and wrap that definition in useCallback
lint: components/sharing-dialog/src/sharing-dialog.js#L94
React Hook useEffect has a missing dependency: 'refetch'. Either include it or remove the dependency array
e2e (2, ../ui/collections/forms/src/CheckboxFieldFF/features/can_toggle_a_value.feature, ../ui/co...
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
e2e (2, ../ui/collections/forms/src/CheckboxFieldFF/features/can_toggle_a_value.feature, ../ui/co...
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
e2e (3, ../ui/collections/forms/src/CheckboxFieldFF/features/displays_error.feature, ../ui/collec...
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
e2e (3, ../ui/collections/forms/src/CheckboxFieldFF/features/displays_error.feature, ../ui/collec...
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
e2e (4, ../ui/collections/forms/src/FileInputFieldFF/features/accepts_file.feature, ../ui/collect...
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
e2e (4, ../ui/collections/forms/src/FileInputFieldFF/features/accepts_file.feature, ../ui/collect...
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
e2e (6, ../ui/collections/forms/src/InputFieldFF/features/can_set_a_value.feature, ../ui/collecti...
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
e2e (6, ../ui/collections/forms/src/InputFieldFF/features/can_set_a_value.feature, ../ui/collecti...
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
e2e (5, ../ui/collections/forms/src/FileInputFieldFF/features/displays_error.feature, ../ui/colle...
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
e2e (5, ../ui/collections/forms/src/FileInputFieldFF/features/displays_error.feature, ../ui/colle...
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
e2e (1, ../ui/collections/forms/src/CheckboxFieldFF/features/can_toggle_a_boolean.feature, ../ui/...
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
e2e (1, ../ui/collections/forms/src/CheckboxFieldFF/features/can_toggle_a_boolean.feature, ../ui/...
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
e2e (7, ../ui/collections/forms/src/InputFieldFF/features/displays_error.feature, ../ui/collectio...
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
e2e (7, ../ui/collections/forms/src/InputFieldFF/features/displays_error.feature, ../ui/collectio...
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
publish
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, c-hive/gha-yarn-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
publish
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v3, c-hive/gha-yarn-cache@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
publish
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
publish
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
publish
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
publish
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Artifacts

Produced during runtime
Name Size
lib-build Expired
1.72 MB