the duty of this action is to only pull the errored out reason the run of Deploy Next.js site to Pages such as for the example:
Run npx --no-install next build
âš No build cache found. Please configure build caching for faster rebuilds. Read more: https://nextjs.org/docs/messages/no-cache
Attention: Next.js now collects completely anonymous telemetry regarding usage.
This information is used to shape Next.js' roadmap and prioritize features.
You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
https://nextjs.org/telemetry
â–² Next.js 15.3.2
Creating an optimized production build ...
âš Compiled with warnings in 7.0s
./app/api/verify/alaska/route.ts
Module not found: Can't resolve './../../../app/api/verify' in '/home/runner/work/ClearView/ClearView/app/api/verify/alaska'
Import trace for requested module:
./app/api/verify/alaska/route.ts
✓ Compiled successfully in 14.0s
Linting and checking validity of types ...
Failed to compile.
./app/api/verify/alabama/route.ts
10:11 Error: 'searchParams' is assigned a value but never used. @typescript-eslint/no-unused-vars
./app/api/verify/alaska/logic.ts
32:27 Error: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any
./app/api/verify/alberta/logic.ts
23:27 Error: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any
./app/api/verify/arkansas/logic.ts
3:11 Error: 'VetRecord' is defined but never used. @typescript-eslint/no-unused-vars
38:27 Error: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any
./app/api/verify/colorado/logic.ts
3:11 Error: 'VetRecord' is defined but never used. @typescript-eslint/no-unused-vars
41:27 Error: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any
./app/api/verify/connecticut/logic.ts
3:11 Error: 'VetRecord' is defined but never used. @typescript-eslint/no-unused-vars
36:27 Error: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any
./app/api/verify/florida/route.ts
17:9 Error: 'key' is assigned a value but never used. @typescript-eslint/no-unused-vars
./app/api/verify/missouri/logic.ts
3:11 Error: 'VetRecord' is defined but never used. @typescript-eslint/no-unused-vars
44:27 Error: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any
info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/app/api-reference/config/eslint#disabling-rules
Error: Process completed with exit code 1.
that is purely an example with the log after its run completed with an failure. the goal is to pull each of those errors into a issue like its currently doing but the name of the issue will be the folder/file for example: missouri/logic.ts and within the body of the issue will be each discrepancy and how to create the proper solution. it is already being done sort of but needs refinement. also it again needs to be run after Deploy Next.js site to Pages to again detect the lint error and if they are not existing after the action completes , read the file and determine the solution that was applied in the review comments and sign it off as yourself @copilot. make sure there are also no duplicates. there should never be a duplicate after a run. only an update if the error exists within the same file. but always mark the new errors as unread.
the duty of this action is to only pull the errored out reason the run of Deploy Next.js site to Pages such as for the example:
Run npx --no-install next build
âš No build cache found. Please configure build caching for faster rebuilds. Read more: https://nextjs.org/docs/messages/no-cache
Attention: Next.js now collects completely anonymous telemetry regarding usage.
This information is used to shape Next.js' roadmap and prioritize features.
You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
https://nextjs.org/telemetry
â–² Next.js 15.3.2
Creating an optimized production build ...
âš Compiled with warnings in 7.0s
./app/api/verify/alaska/route.ts
Module not found: Can't resolve './../../../app/api/verify' in '/home/runner/work/ClearView/ClearView/app/api/verify/alaska'
Import trace for requested module:
./app/api/verify/alaska/route.ts
✓ Compiled successfully in 14.0s
Linting and checking validity of types ...
Failed to compile.
./app/api/verify/alabama/route.ts
10:11 Error: 'searchParams' is assigned a value but never used. @typescript-eslint/no-unused-vars
./app/api/verify/alaska/logic.ts
32:27 Error: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any
./app/api/verify/alberta/logic.ts
23:27 Error: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any
./app/api/verify/arkansas/logic.ts
3:11 Error: 'VetRecord' is defined but never used. @typescript-eslint/no-unused-vars
38:27 Error: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any
./app/api/verify/colorado/logic.ts
3:11 Error: 'VetRecord' is defined but never used. @typescript-eslint/no-unused-vars
41:27 Error: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any
./app/api/verify/connecticut/logic.ts
3:11 Error: 'VetRecord' is defined but never used. @typescript-eslint/no-unused-vars
36:27 Error: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any
./app/api/verify/florida/route.ts
17:9 Error: 'key' is assigned a value but never used. @typescript-eslint/no-unused-vars
./app/api/verify/missouri/logic.ts
3:11 Error: 'VetRecord' is defined but never used. @typescript-eslint/no-unused-vars
44:27 Error: Unexpected any. Specify a different type. @typescript-eslint/no-explicit-any
info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/app/api-reference/config/eslint#disabling-rules
Error: Process completed with exit code 1.
that is purely an example with the log after its run completed with an failure. the goal is to pull each of those errors into a issue like its currently doing but the name of the issue will be the folder/file for example: missouri/logic.ts and within the body of the issue will be each discrepancy and how to create the proper solution. it is already being done sort of but needs refinement. also it again needs to be run after Deploy Next.js site to Pages to again detect the lint error and if they are not existing after the action completes , read the file and determine the solution that was applied in the review comments and sign it off as yourself @copilot. make sure there are also no duplicates. there should never be a duplicate after a run. only an update if the error exists within the same file. but always mark the new errors as unread.