Skip to content

fix: fix prettier CI failures #675

fix: fix prettier CI failures

fix: fix prettier CI failures #675

Triggered via push April 1, 2026 17:42
Status Failure
Total duration 3m 31s
Artifacts

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
build: src/hooks/useGovernance.ts#L84
Type '"pending"' is not assignable to type '"Active" | "Passed" | "Rejected"'.
build: src/hooks/useGovernance.ts#L83
Type '"rejected"' is not assignable to type '"Active" | "Passed" | "Rejected"'. Did you mean '"Rejected"'?
build: src/hooks/useGovernance.ts#L82
Type '"approved"' is not assignable to type '"Active" | "Passed" | "Rejected"'.
build: src/hooks/useGovernance.ts#L6
Duplicate identifier 'Proposal'.
build: src/hooks/useGovernance.ts#L4
Duplicate identifier 'Proposal'.
build: src/hooks/useGovernance.test.tsx#L1
Module '"@testing-library/react"' has no exported member 'waitFor'.
build: src/hooks/useDonor.test.tsx#L100
Property 'totalContributed' does not exist on type 'DonorStats'. Did you mean 'total_contributed'?
build: src/hooks/useDonor.test.tsx#L73
Property 'totalContributed' does not exist on type 'DonorStats'. Did you mean 'total_contributed'?
build: src/hooks/useDonor.test.tsx#L1
Module '"@testing-library/react"' has no exported member 'waitFor'.
build: src/App.test.tsx#L6
Module '"./test/setup"' has no exported member 'screen'.
build
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 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: server/src/routes/comments.routes.ts#L183
'err' is defined but never used
build: server/src/routes/comments.routes.ts#L145
'err' is defined but never used
build: server/src/routes/comments.routes.ts#L51
'err' is defined but never used
build: server/src/index.ts#L43
'pemString' is assigned a value but never used. Allowed unused vars must match /^ignored/u
build: server/src/index.ts#L9
'morgan' is defined but never used. Allowed unused vars must match /^ignored/u
build: server/src/index.ts#L1
`dotenv` import should occur after import of `cors`
build: server/src/controllers/governance.controller.ts#L405
'dbResult' is assigned a value but never used. Allowed unused vars must match /^ignored/u
build: server/src/controllers/credentials.controller.ts#L1
`express` import should occur after import of `path`
build: server/src/controllers/admin-milestones.controller.ts#L7
'toPlainText' is defined but never used. Allowed unused vars must match /^ignored/u
build: server/src/controllers/admin-milestones.controller.ts#L7
'templates' is defined but never used. Allowed unused vars must match /^ignored/u