Skip to content

chore: make ATP addresses optional (#91) #203

chore: make ATP addresses optional (#91)

chore: make ATP addresses optional (#91) #203

Triggered via push June 4, 2026 07:50
Status Success
Total duration 1m 23s
Artifacts

build.yaml

on: push
Build staking dashboard frontend
1m 20s
Build staking dashboard frontend
Build ATP indexer backend
27s
Build ATP indexer backend
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 12 warnings
Build staking dashboard frontend: staking-dashboard/src/components/Stake/StakeFlowTokenApproval.tsx#L25
Optional chain expressions can return undefined by design - using a non-null assertion is unsafe and wrong
Build staking dashboard frontend: staking-dashboard/src/components/Stake/StakeFlowSelectedAtpDetails.tsx#L31
Optional chain expressions can return undefined by design - using a non-null assertion is unsafe and wrong
Build staking dashboard frontend: staking-dashboard/src/components/Registration/RegistrationStake.tsx#L40
Optional chain expressions can return undefined by design - using a non-null assertion is unsafe and wrong
Build staking dashboard frontend: staking-dashboard/src/components/Registration/RegistrationStake.tsx#L33
Optional chain expressions can return undefined by design - using a non-null assertion is unsafe and wrong
Build staking dashboard frontend: staking-dashboard/src/components/Provider/ProviderStake.tsx#L48
Optional chain expressions can return undefined by design - using a non-null assertion is unsafe and wrong
Build staking dashboard frontend: staking-dashboard/src/components/Provider/ProviderStake.tsx#L36
Optional chain expressions can return undefined by design - using a non-null assertion is unsafe and wrong
Build staking dashboard frontend: staking-dashboard/src/components/CustomConnectButton/CustomConnectButton.tsx#L59
React Hook "useEffect" cannot be called inside a callback. React Hooks must be called in a React function component or a custom React Hook function
Build staking dashboard frontend: staking-dashboard/src/components/Alert/Alert.tsx#L73
Unexpected any. Specify a different type
Build ATP indexer backend
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Build staking dashboard frontend
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Build staking dashboard frontend: staking-dashboard/src/components/Stake/StakeFlowAtpSelection.tsx#L177
React Hook useEffect has a missing dependency: 'firstNavigated'. Either include it or remove the dependency array
Build staking dashboard frontend: staking-dashboard/src/components/Stake/StakeFlowAtpSelection.tsx#L127
React Hook useCallback has a missing dependency: 'transactionType'. Either include it or remove the dependency array
Build staking dashboard frontend: staking-dashboard/src/components/Stake/StakeFlowAtpSelection.tsx#L104
React Hook useEffect has a missing dependency: 'transactionType'. Either include it or remove the dependency array
Build staking dashboard frontend: staking-dashboard/src/components/Stake/StakeFlowAtpSelection.tsx#L77
React Hook useEffect has a missing dependency: 'updateFormData'. Either include it or remove the dependency array
Build staking dashboard frontend: staking-dashboard/src/components/Provider/ProviderStakingFlow.tsx#L128
React Hook useEffect has a missing dependency: 'form'. Either include it or remove the dependency array
Build staking dashboard frontend: staking-dashboard/src/components/Provider/ProviderStake.tsx#L157
React Hook useEffect has a missing dependency: 'onComplete'. Either include it or remove the dependency array. If 'onComplete' changes too often, find the parent component that defines it and wrap that definition in useCallback
Build staking dashboard frontend: staking-dashboard/src/components/Provider/ProviderStake.tsx#L71
React Hook useMemo has an unnecessary dependency: 'providerId'. Either exclude it or remove the dependency array
Build staking dashboard frontend: staking-dashboard/src/components/Provider/ProviderStake.tsx#L65
React Hook useMemo has an unnecessary dependency: 'providerId'. Either exclude it or remove the dependency array
Build staking dashboard frontend: staking-dashboard/src/components/DelegateModal/DelegateModal.tsx#L196
React Hook useEffect has a missing dependency: 'handleClose'. Either include it or remove the dependency array
Build staking dashboard frontend: staking-dashboard/src/components/CustomConnectButton/CustomConnectButton.tsx#L66
React Hook useEffect has an unnecessary dependency: 'isSafeApp'. Either exclude it or remove the dependency array. Outer scope values like 'isSafeApp' aren't valid dependencies because mutating them doesn't re-render the component