Skip to content

Merge pull request #1497 from dhis2/upgrade-dhis2-cypress-tools #3935

Merge pull request #1497 from dhis2/upgrade-dhis2-cypress-tools

Merge pull request #1497 from dhis2/upgrade-dhis2-cypress-tools #3935

Re-run triggered May 7, 2024 01:04
Status Failure
Total duration 2m 34s
Artifacts 1
Matrix: e2e
Fit to window
Zoom out
Zoom in

Annotations

1 error and 39 warnings
publish
The automated release failed with Error: Command failed with exit code 1: npm version 9.4.5 --userconfig /tmp/e47a81fcd208df3cf14b971a437b886a/.npmrc --no-git-tag-version --allow-same-version npm WARN ERESOLVE overriding peer dependency npm WARN While resolving: @cypress/[email protected] npm WARN Found: [email protected] npm WARN node_modules/babel-loader npm WARN babel-loader@"^8.2.3" from @docusaurus/[email protected] npm WARN node_modules/@docusaurus/core npm WARN @docusaurus/core@"2.0.0-beta.17" from @docusaurus/[email protected] npm WARN node_modules/@docusaurus/plugin-content-docs npm WARN 10 more (@docusaurus/plugin-content-blog, ...) npm WARN 4 more (@storybook/addon-essentials, ...) npm WARN npm WARN Could not resolve dependency: npm WARN peer babel-loader@"^8.0.0" from @storybook/[email protected] npm WARN node_modules/@storybook/addon-essentials npm WARN @storybook/addon-essentials@"^6.3.7" from [email protected] npm WARN storybook npm WARN ERESOLVE overriding peer dependency npm WARN While resolving: @dhis2/[email protected] npm WARN Found: @dhis2/[email protected] npm WARN node_modules/@dhis2/cli-app-scripts npm WARN dev @dhis2/cli-app-scripts@"^8.0.0" from the root project npm WARN npm WARN Could not resolve dependency: npm WARN peerOptional @dhis2/cli-app-scripts@"^7.1.1" from @dhis2/[email protected] npm WARN node_modules/@dhis2/app-service-data npm WARN @dhis2/app-service-data@"3.9.0" from @dhis2/[email protected] npm WARN node_modules/@dhis2/app-runtime npm WARN npm WARN Conflicting peer dependency: @dhis2/[email protected] npm WARN node_modules/@dhis2/cli-app-scripts npm WARN peerOptional @dhis2/cli-app-scripts@"^7.1.1" from @dhis2/[email protected] npm WARN node_modules/@dhis2/app-service-data npm WARN @dhis2/app-service-data@"3.9.0" from @dhis2/[email protected] npm WARN node_modules/@dhis2/app-runtime npm WARN ERESOLVE overriding peer dependency npm WARN While resolving: [email protected] npm WARN Found: [email protected] npm WARN node_modules/jest-pnp-resolver/node_modules/jest-resolve npm WARN npm WARN Could not resolve dependency: npm WARN peerOptional jest-resolve@"*" from [email protected] npm WARN node_modules/jest-pnp-resolver npm WARN jest-pnp-resolver@"^1.2.2" from [email protected] npm WARN node_modules/jest-pnp-resolver/node_modules/jest-resolve npm WARN 3 more (jest-resolve, jest-resolve, jest-resolve) npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: [email protected] npm ERR! node_modules/react npm ERR! react@"16.13" from the root project npm ERR! peer react@"^0.14 || ^15.0.0 || ^16.0.0-alpha" from [email protected] npm ERR! node_modules/airbnb-prop-types npm ERR! airbnb-prop-types@"^2.16.0" from [email protected] npm ERR! node_modules/enzyme-adapter-utils npm ERR! enzyme-adapter-utils@"^1.14.0" from [email protected] npm ERR! node_modules/enzyme-adapter-react-16 npm ERR! dev enzyme-adapter-react-16@"^1.15.6" from the root project npm ERR! 146 more (create-react-context, downshift, emotion-theming, ...) npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"^16.14.0" from [email protected] npm ERR! node_modules/react-test-renderer npm ERR! react-test-renderer@"^16.0.0-0" from [email protected] npm ERR! node_modules/enzyme-adapter-react-16 npm ERR! dev enzyme-adapter-react-16@"^1.15.6" from the root project npm ERR! peerOptional react-test-renderer@">=16.9.0" from @testing-library/[email protected] npm ERR! node_modules/@testing-library/react-hooks npm ERR! dev @testing-library/react-hooks@"^7.0.1" from the root project npm ERR! npm ERR! Conflicting peer dependency: [email protected] npm ERR! node_modules/react npm ERR! peer react@"^16.14.0" from [email protected] npm ERR! node_modules/react-test-renderer npm ERR! react-test-renderer@"^16.0.0-0" from
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v1, c-hive/gha-yarn-cache@v1, actions/upload-artifact@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1, c-hive/gha-yarn-cache@v1, actions/upload-artifact@v2. 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 `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
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v1, actions/download-artifact@v2, c-hive/gha-yarn-cache@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1, actions/download-artifact@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 `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
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v1, actions/download-artifact@v2, c-hive/gha-yarn-cache@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1, actions/download-artifact@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 `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
e2e (3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v1, actions/download-artifact@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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
e2e (3)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1, actions/download-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
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#L88
React Hook useEffect has a missing dependency: 'refetch'. Either include it or remove the dependency array
e2e (1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v1, actions/download-artifact@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
e2e (1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1, actions/download-artifact@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)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v1, actions/download-artifact@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
e2e (4)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1, actions/download-artifact@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)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v1, actions/download-artifact@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
e2e (2)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1, actions/download-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
publish
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v3, actions/download-artifact@v2, dhis2/action-semantic-release@master. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
publish
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/download-artifact@v2, dhis2/action-semantic-release@master. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "lib-build". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
lib-build Expired
15.6 MB