Skip to content

feat: modify cache type to allow generic usage #602

feat: modify cache type to allow generic usage

feat: modify cache type to allow generic usage #602

Re-run triggered April 26, 2024 02:24
Status Failure
Total duration 2m 21s
Artifacts 1

test-release.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 3 warnings, and 1 notice
test: test/use-swr-cache.test.tsx#L55
Type 'Map<string, { data: string; }>' is not assignable to type 'Cache<any>'.
test: test/use-swr-cache.test.tsx#L74
Type 'Map<string, { data: string; }>' is not assignable to type 'Cache<any>'.
test: test/use-swr-cache.test.tsx#L95
Type 'Map<string, { data: string; }>' is not assignable to type 'Cache<any>'.
test: test/use-swr-cache.test.tsx#L104
Type 'Map<string, { data: string; }>' is not assignable to type 'Cache<any>'.
test: test/use-swr-cache.test.tsx#L121
Type 'Map<string, { data: string; }>' is not assignable to type 'Cache<any>'.
test: test/use-swr-cache.test.tsx#L127
Type 'Map<string, { data: string; }>' is not assignable to type 'Cache<any>'.
test: test/use-swr-cache.test.tsx#L153
Type 'Map<string, { data: number; }>' is not assignable to type 'Cache<any>'.
test: test/use-swr-cache.test.tsx#L231
Type 'Map<string, { data: string; }>' is not assignable to type 'Cache<any>'.
test: test/use-swr-cache.test.tsx#L442
Type 'Map<string, { data: string; }>' is not assignable to type 'Cache<any>'.
test: test/use-swr-cache.test.tsx#L482
Type 'Map<string, { data: string; }>' is not assignable to type 'Cache<any>'.
🎭 Playwright Run Summary
9 passed (6.9s)
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2.2.4, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
e2e
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2.2.4, actions/setup-node@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "playwright-report". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
playwright-report
418 KB