Skip to content

fix(lint): narrow down targeted files for lint #523

fix(lint): narrow down targeted files for lint

fix(lint): narrow down targeted files for lint #523

Triggered via pull request March 9, 2024 04:47
@zainfathonizainfathoni
synchronize #197
fix/lint
Status Failure
Total duration 2m 5s
Artifacts

test.yml

on: pull_request
Cache NPM libraries
51s
Cache NPM libraries
ESLint
29s
ESLint
Type check
33s
Type check
Unit and integration test
43s
Unit and integration test
End-to-end test
59s
End-to-end test
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 10 warnings
ESLint: app/components/transaction-details.tsx#L1
Transaction not found in '@prisma/client'
ESLint: app/components/transaction-details.tsx#L1
User not found in '@prisma/client'
ESLint: app/models/__mocks__/attachment.ts#L2
Attachment not found in '@prisma/client'
ESLint: app/models/__mocks__/chapter.ts#L2
Chapter not found in '@prisma/client'
ESLint: app/models/__mocks__/course.ts#L2
Course not found in '@prisma/client'
ESLint: app/models/__mocks__/lesson.ts#L2
Lesson not found in '@prisma/client'
ESLint: app/models/__mocks__/subscription.ts#L2
Subscription not found in '@prisma/client'
ESLint: app/models/__mocks__/transaction.ts#L2
Transaction not found in '@prisma/client'
ESLint: app/models/__mocks__/user.ts#L2
User not found in '@prisma/client'
ESLint: app/models/course.ts#L1
Chapter not found in '@prisma/client'
Type check: app/components/transaction-details.tsx#L1
Module '"../../node_modules/@prisma/client"' has no exported member 'Transaction'.
Type check: app/components/transaction-details.tsx#L1
Module '"../../node_modules/@prisma/client"' has no exported member 'User'.
Type check: app/models/__mocks__/attachment.ts#L2
Module '"../../../node_modules/@prisma/client"' has no exported member 'Attachment'.
Type check: app/models/__mocks__/chapter.ts#L2
Module '"../../../node_modules/@prisma/client"' has no exported member 'Chapter'.
Type check: app/models/__mocks__/course.ts#L2
Module '"../../../node_modules/@prisma/client"' has no exported member 'Course'.
Type check: app/models/__mocks__/lesson.ts#L2
Module '"../../../node_modules/@prisma/client"' has no exported member 'Lesson'.
Type check: app/models/__mocks__/subscription.ts#L2
Module '"../../../node_modules/@prisma/client"' has no exported member 'Subscription'.
Type check: app/models/__mocks__/transaction.ts#L2
Module '"../../../node_modules/@prisma/client"' has no exported member 'Transaction'.
Type check: app/models/__mocks__/user.ts#L2
Module '"../../../node_modules/@prisma/client"' has no exported member 'User'.
Type check: app/models/course.ts#L1
Module '"../../node_modules/@prisma/client"' has no exported member 'Chapter'.
End-to-end test
Process completed with exit code 1.
Cache NPM libraries
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Cache NPM libraries
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
ESLint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
ESLint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Type check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Type check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Unit and integration test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v2, actions/cache@v2, codecov/codecov-action@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Unit and integration test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2, actions/cache@v2, codecov/codecov-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
End-to-end test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
End-to-end test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/