Skip to content

Adding new scaffold to the react folder #33

Adding new scaffold to the react folder

Adding new scaffold to the react folder #33

Triggered via pull request June 18, 2024 01:28
Status Failure
Total duration 41s
Artifacts

actions.yml

on: pull_request
Matrix: main
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 4 warnings
Unhandled error: node_modules/@zendeskgarden/react-buttons/dist/index.cjs.js#L11
Error: Cannot find module 'styled-components' Require stack: - /home/runner/work/app_scaffolds/app_scaffolds/node_modules/@zendeskgarden/react-buttons/dist/index.cjs.js ❯ Object.<anonymous> ../../../node_modules/@zendeskgarden/react-buttons/dist/index.cjs.js:11:14 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/runner/work/app_scaffolds/app_scaffolds/node_modules/@zendeskgarden/react-buttons/dist/index.cjs.js' ] } This error originated in "../test/app.test.jsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "renders TicketSideBar and shows the correct content". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
../test/app.test.jsx > App Components > renders TicketSideBar and shows the correct content: packages/react/test/app.test.jsx#L36
TestingLibraryElementError: Unable to find an element with the text: Hello from Ticket Side Bar. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div id="root" /> <div /> </body> Ignored nodes: comments, script, style <html> <head /> <body> <div id="root" /> <div /> </body> </html> ❯ Proxy.waitForWrapper ../../../node_modules/@testing-library/dom/dist/wait-for.js:163:27 ❯ ../test/app.test.jsx:36:11
main (Test, false, yarn lerna run test)
Process completed with exit code 1.
main (Lint, false, yarn lerna run lint)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: zendesk/checkout@v2, zendesk/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
main (Lint, false, yarn lerna run lint)
The following actions uses node12 which is deprecated and will be forced to run on node16: zendesk/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/
main (Test, false, yarn lerna run test)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: zendesk/checkout@v2, zendesk/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
main (Test, false, yarn lerna run test)
The following actions uses node12 which is deprecated and will be forced to run on node16: zendesk/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/