Skip to content

Update tanstack-query monorepo to v5 (major) #4315

Update tanstack-query monorepo to v5 (major)

Update tanstack-query monorepo to v5 (major) #4315

Triggered via pull request October 18, 2024 18:39
Status Failure
Total duration 6m 10s
Artifacts

check.yml

on: pull_request
Cache npm for Linux
37s
Cache npm for Linux
Cache npm for macOS
55s
Cache npm for macOS
Cache bundler for macOS
9s
Cache bundler for macOS
Detox E2E for iOS
0s
Detox E2E for iOS
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 9 warnings
TypeScript: modules/app-config/index.ts#L13
No overload matches this call.
TypeScript: modules/app-config/index.ts#L13
Parameter 'newValue' implicitly has an 'any' type.
TypeScript: source/init/tanstack-query.ts#L16
Type '{ cacheTime: number; }' is not assignable to type 'OmitKeyof<QueryObserverOptions<unknown, Error, unknown, unknown, QueryKey, never>, "suspense" | "queryKey", "strictly">'.
TypeScript: source/lib/login.ts#L93
Property 'queryKey' is missing in type '{}' but required in type 'QueryObserverOptions<QueryFnData, TError, TData, QueryFnData, QueryKey, never>'.
TypeScript: source/lib/login.ts#L96
'queryKey' is specified more than once, so this usage will be overwritten.
TypeScript: source/lib/login.ts#L99
No overload matches this call.
TypeScript: source/lib/login.ts#L106
Argument of type '{ select: (data: QueryFnData) => string | undefined; }' is not assignable to parameter of type 'QueryObserverOptions<QueryFnData, unknown, string | undefined, QueryFnData, QueryKey, never>'.
TypeScript: source/lib/login.ts#L112
Argument of type '{ select: (data: QueryFnData) => boolean; }' is not assignable to parameter of type 'QueryObserverOptions<QueryFnData, unknown, boolean, QueryFnData, QueryKey, never>'.
TypeScript: source/views/calendar/index.tsx#L20
Type 'UseQueryResult<EventType[], unknown>' is not assignable to type 'UseQueryResult<EventType[], Error>'.
TypeScript: source/views/calendar/index.tsx#L32
Type 'UseQueryResult<EventType[], unknown>' is not assignable to type 'UseQueryResult<EventType[], Error>'.
Jest
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/e28ff129e5465c2c0dcc6f003fc735cb6ae0c673/dist/codecov' failed with exit code 1
Build for iOS
The following actions use a deprecated Node.js version and will be forced to run on node20: mikehardy/buildcache-action@1db83fb06b0da378aa7db7a1110923b904417cbc. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build for iOS
Cache save failed.
Build for iOS
No files were found with the provided path: ios/build/Build/Products/. No artifacts will be uploaded.
Build for iOS
buildcache: unable to upload buildlog: Error: File /Users/runner/work/AAO-React-Native/AAO-React-Native/.buildcache/buildcache.log does not exist
Build for iOS
buildcache: unable to delete buildcache.log Error: ENOENT: no such file or directory, unlink '/Users/runner/work/AAO-React-Native/AAO-React-Native/.buildcache/buildcache.log'
Build for Android
This job uses deprecated functionality from the 'gradle/gradle-build-action' action. Consult the Job Summary for more details.
Build for Android
No files were found with the provided path: android/app/build/outputs/apk/. No artifacts will be uploaded.
Build for Android
No files were found with the provided path: build/reports/. No artifacts will be uploaded.