Skip to content

Deploy to production #157

Deploy to production

Deploy to production #157

Triggered via pull request May 29, 2024 09:25
@GreenheartGreenheart
synchronize #599
staging
Status Failure
Total duration 49s
Artifacts

pr_check.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 4 warnings
__tests__/components/RegionalView.test.tsx > RegionalView > renders without crashing: components/ToggleButton.tsx#L8
TypeError: Cannot read properties of undefined (reading 'white') ❯ chunk components/ToggleButton.tsx:8:43 ❯ flatten node_modules/styled-components/src/utils/flatten.ts:66:22 ❯ e.generateAndInjectStyles node_modules/styled-components/src/models/ComponentStyle.ts:79:13 ❯ useInjectedStyle node_modules/styled-components/src/models/StyledComponent.ts:64:36 ❯ useStyledComponentImpl node_modules/styled-components/src/models/StyledComponent.ts:169:30 ❯ I node_modules/styled-components/src/models/StyledComponent.ts:250:12 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ updateForwardRef node_modules/react-dom/cjs/react-dom.development.js:19245:20 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21675:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14
__tests__/components/RegionalView.test.tsx > RegionalView > changes view mode when toggle button is clicked: components/ToggleButton.tsx#L8
TypeError: Cannot read properties of undefined (reading 'white') ❯ chunk components/ToggleButton.tsx:8:43 ❯ flatten node_modules/styled-components/src/utils/flatten.ts:66:22 ❯ e.generateAndInjectStyles node_modules/styled-components/src/models/ComponentStyle.ts:79:13 ❯ useInjectedStyle node_modules/styled-components/src/models/StyledComponent.ts:64:36 ❯ useStyledComponentImpl node_modules/styled-components/src/models/StyledComponent.ts:169:30 ❯ I node_modules/styled-components/src/models/StyledComponent.ts:250:12 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ updateForwardRef node_modules/react-dom/cjs/react-dom.development.js:19245:20 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21675:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14
__tests__/components/RegionalView.test.tsx > RegionalView > handles dataset change: components/ToggleButton.tsx#L8
TypeError: Cannot read properties of undefined (reading 'white') ❯ chunk components/ToggleButton.tsx:8:43 ❯ flatten node_modules/styled-components/src/utils/flatten.ts:66:22 ❯ e.generateAndInjectStyles node_modules/styled-components/src/models/ComponentStyle.ts:79:13 ❯ useInjectedStyle node_modules/styled-components/src/models/StyledComponent.ts:64:36 ❯ useStyledComponentImpl node_modules/styled-components/src/models/StyledComponent.ts:169:30 ❯ I node_modules/styled-components/src/models/StyledComponent.ts:250:12 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ updateForwardRef node_modules/react-dom/cjs/react-dom.development.js:19245:20 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21675:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14
__tests__/components/RegionalView.test.tsx > RegionalView > renders the dropdown component: components/ToggleButton.tsx#L8
TypeError: Cannot read properties of undefined (reading 'white') ❯ chunk components/ToggleButton.tsx:8:43 ❯ flatten node_modules/styled-components/src/utils/flatten.ts:66:22 ❯ e.generateAndInjectStyles node_modules/styled-components/src/models/ComponentStyle.ts:79:13 ❯ useInjectedStyle node_modules/styled-components/src/models/StyledComponent.ts:64:36 ❯ useStyledComponentImpl node_modules/styled-components/src/models/StyledComponent.ts:169:30 ❯ I node_modules/styled-components/src/models/StyledComponent.ts:250:12 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ updateForwardRef node_modules/react-dom/cjs/react-dom.development.js:19245:20 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21675:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14
__tests__/components/ToggleButton.test.tsx > ToggleButton > should render the ToggleButton component: components/ToggleButton.tsx#L8
TypeError: Cannot read properties of undefined (reading 'white') ❯ chunk components/ToggleButton.tsx:8:43 ❯ flatten node_modules/styled-components/src/utils/flatten.ts:66:22 ❯ e.generateAndInjectStyles node_modules/styled-components/src/models/ComponentStyle.ts:79:13 ❯ useInjectedStyle node_modules/styled-components/src/models/StyledComponent.ts:64:36 ❯ useStyledComponentImpl node_modules/styled-components/src/models/StyledComponent.ts:169:30 ❯ I node_modules/styled-components/src/models/StyledComponent.ts:250:12 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ updateForwardRef node_modules/react-dom/cjs/react-dom.development.js:19245:20 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21675:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14
__tests__/components/ToggleButton.test.tsx > ToggleButton > should render the text provided: components/ToggleButton.tsx#L8
TypeError: Cannot read properties of undefined (reading 'white') ❯ chunk components/ToggleButton.tsx:8:43 ❯ flatten node_modules/styled-components/src/utils/flatten.ts:66:22 ❯ e.generateAndInjectStyles node_modules/styled-components/src/models/ComponentStyle.ts:79:13 ❯ useInjectedStyle node_modules/styled-components/src/models/StyledComponent.ts:64:36 ❯ useStyledComponentImpl node_modules/styled-components/src/models/StyledComponent.ts:169:30 ❯ I node_modules/styled-components/src/models/StyledComponent.ts:250:12 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ updateForwardRef node_modules/react-dom/cjs/react-dom.development.js:19245:20 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21675:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14
__tests__/components/ToggleButton.test.tsx > ToggleButton > should render the icon provided: components/ToggleButton.tsx#L8
TypeError: Cannot read properties of undefined (reading 'white') ❯ chunk components/ToggleButton.tsx:8:43 ❯ flatten node_modules/styled-components/src/utils/flatten.ts:66:22 ❯ e.generateAndInjectStyles node_modules/styled-components/src/models/ComponentStyle.ts:79:13 ❯ useInjectedStyle node_modules/styled-components/src/models/StyledComponent.ts:64:36 ❯ useStyledComponentImpl node_modules/styled-components/src/models/StyledComponent.ts:169:30 ❯ I node_modules/styled-components/src/models/StyledComponent.ts:250:12 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ updateForwardRef node_modules/react-dom/cjs/react-dom.development.js:19245:20 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21675:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14
__tests__/components/ToggleButton.test.tsx > ToggleButton > should call handleClick when clicked: components/ToggleButton.tsx#L8
TypeError: Cannot read properties of undefined (reading 'white') ❯ chunk components/ToggleButton.tsx:8:43 ❯ flatten node_modules/styled-components/src/utils/flatten.ts:66:22 ❯ e.generateAndInjectStyles node_modules/styled-components/src/models/ComponentStyle.ts:79:13 ❯ useInjectedStyle node_modules/styled-components/src/models/StyledComponent.ts:64:36 ❯ useStyledComponentImpl node_modules/styled-components/src/models/StyledComponent.ts:169:30 ❯ I node_modules/styled-components/src/models/StyledComponent.ts:250:12 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ updateForwardRef node_modules/react-dom/cjs/react-dom.development.js:19245:20 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21675:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14
Tests
Process completed with exit code 1.
Linting
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: styfle/[email protected], actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Linting
The following actions uses node12 which is deprecated and will be forced to run on node16: styfle/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: styfle/[email protected], actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests
The following actions uses node12 which is deprecated and will be forced to run on node16: styfle/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/