Skip to content

chore(client): set up apollo client #1

chore(client): set up apollo client

chore(client): set up apollo client #1

Triggered via push September 30, 2024 10:50
Status Failure
Total duration 51s
Artifacts

client_ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 12 warnings
node: client/src/components/ControlWindows/GameAccount.tsx#L88
Unexpected empty arrow function
node: client/src/components/ControlWindows/GameAccount.tsx#L96
'mainPage' is never reassigned. Use 'const' instead
node: client/src/components/ControlWindows/GameAccount.tsx#L175
'profilePage' is never reassigned. Use 'const' instead
node: client/src/components/ControlWindows/GameAccount.tsx#L180
'pages' is never reassigned. Use 'const' instead
node: client/src/components/ControlWindows/GameAccount.tsx#L184
'lastPage' is never reassigned. Use 'const' instead
node: client/src/components/Dice.tsx#L56
'rollAmount' is never reassigned. Use 'const' instead
node: client/src/components/Dice.tsx#L62
Type number trivially inferred from a number literal, remove type annotation
node: client/src/components/Dice.tsx#L80
'x' is never reassigned. Use 'const' instead
node: client/src/components/RestartGame.tsx#L35
Mixed spaces and tabs
node: client/src/context/board-context.tsx#L12
Unexpected empty method 'toggleBoard'
node
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
node
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
node: client/src/App.tsx#L55
Unexpected any. Specify a different type
node: client/src/components/Control.tsx#L69
'windows' is assigned a value but never used
node: client/src/components/Control.tsx#L69
'setWindows' is assigned a value but never used
node: client/src/components/ControlWindows/ControlWindowLayout.tsx#L2
'Draggable' is defined but never used
node: client/src/components/ControlWindows/GameAccount.tsx#L12
'convertHexToText' is defined but never used
node: client/src/components/ControlWindows/GameAccount.tsx#L16
'FaArrowAltCircleRight' is defined but never used
node: client/src/components/ControlWindows/GameAccount.tsx#L41
'ProfilePage' is assigned a value but never used
node: client/src/components/ControlWindows/GameAccount.tsx#L47
'chain' is assigned a value but never used
node: client/src/components/ControlWindows/GameAccount.tsx#L50
'gameProfiles' is assigned a value but never used
node: client/src/components/ControlWindows/GameAccount.tsx#L54
'setPagesStack' is assigned a value but never used