Add CI/CD workflow for automated testing #1
test.yml
on: push
Annotations
6 errors and 13 warnings
|
Lint & Type Check
Process completed with exit code 1.
|
|
Lint & Type Check:
pnaa/jest.config.js#L1
A `require()` style import is forbidden
|
|
Lint & Type Check:
pnaa/__tests__/lib/auth/context.test.tsx#L42
Unexpected any. Specify a different type
|
|
Lint & Type Check:
pnaa/__tests__/lib/auth/context.test.tsx#L27
Unexpected any. Specify a different type
|
|
Lint & Type Check:
pnaa/__tests__/lib/auth/context.test.tsx#L27
Unexpected any. Specify a different type
|
|
Lint & Type Check:
pnaa/__tests__/lib/auth/context.test.tsx#L23
Unexpected any. Specify a different type
|
|
Lint & Type Check
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 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/
|
|
Lint & Type Check:
pnaa/components/shared/file-upload.tsx#L4
'Upload' is defined but never used
|
|
Lint & Type Check:
pnaa/components/layout/sidebar.tsx#L12
'ChevronLeft' is defined but never used
|
|
Lint & Type Check:
pnaa/components/events/event-metrics.tsx#L1
'CardTitle' is defined but never used
|
|
Lint & Type Check:
pnaa/components/events/event-metrics.tsx#L1
'CardHeader' is defined but never used
|
|
Lint & Type Check:
pnaa/components/events/event-detail.tsx#L90
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` or a custom image loader to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
|
|
Lint & Type Check:
pnaa/components/events/event-detail.tsx#L10
'formatDate' is defined but never used
|
|
Lint & Type Check:
pnaa/components/events/event-card.tsx#L16
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` or a custom image loader to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
|
|
Lint & Type Check:
pnaa/components/dashboard/fundraising-progress.tsx#L10
'Progress' is defined but never used
|
|
Lint & Type Check:
pnaa/components/dashboard/chapter-list-widget.tsx#L19
'slugify' is defined but never used
|
|
Lint & Type Check:
pnaa/__tests__/hooks/use-auth.test.tsx#L13
'ReactNode' is defined but never used
|
|
Unit Tests
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/upload-artifact@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
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 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/
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
coverage-report
Expired
|
348 KB |
sha256:b98e18257f51cb382f1b4ed89ffd7c3e01f3338226c080d7c5773dad9610265c
|
|