fix: util/logic.ts type inference errors #15394
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
ci.yml
on: push
install
2m 20s
changes
17s
frontend_test
4m 57s
frontend_lint
2m 6s
backend_lint
2m 16s
backend_test
0s
Annotations
10 errors and 14 warnings
backend_lint:
src/app/modules/payments/stripe.service.ts#L397
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
|
backend_lint:
src/app/modules/payments/stripe.service.ts#L401
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
|
backend_lint:
src/app/modules/submission/__tests__/submission.service.spec.ts#L829
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
|
backend_lint:
src/app/modules/submission/__tests__/submission.service.spec.ts#L854
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
|
backend_lint:
src/app/modules/submission/__tests__/submission.service.spec.ts#L875
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
|
backend_lint:
src/app/modules/submission/__tests__/submission.service.spec.ts#L900
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
|
backend_lint
Process completed with exit code 1.
|
build
Could not find a declaration file for module 'bson'. '/home/runner/work/FormSG/FormSG/node_modules/bson/index.js' implicitly has an 'any' type.
|
build
Could not find a declaration file for module 'bson'. '/home/runner/work/FormSG/FormSG/node_modules/bson/index.js' implicitly has an 'any' type.
|
build
Process completed with exit code 1.
|
changes
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
install
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@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/
|
frontend_lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@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/
|
frontend_lint:
frontend/src/features/user/transfer-ownership/TransferOwnershipModal.tsx#L62
React Hook useCallback has missing dependencies: 'onClose', 'reset', and 'trigger'. Either include them or remove the dependency array. If 'reset' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
frontend_lint:
frontend/src/features/user/transfer-ownership/TransferOwnershipModal.tsx#L69
React Hook useCallback has unnecessary dependencies: 'email' and 'page'. Either exclude them or remove the dependency array
|
frontend_lint:
frontend/src/features/user/transfer-ownership/TransferOwnershipModal.tsx#L83
React Hook useCallback has missing dependencies: 'refetch', 'resetModal', and 'transferOwnershipMutation'. Either include them or remove the dependency array
|
frontend_lint:
frontend/src/features/user/transfer-ownership/TransferOwnershipModal.tsx#L87
React Hook useEffect has a missing dependency: 'trigger'. Either include it or remove the dependency array. If 'trigger' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
frontend_lint:
frontend/src/features/user/transfer-ownership/TransferOwnershipModal.tsx#L122
Forbidden non-null assertion
|
frontend_lint:
frontend/src/features/user/transfer-ownership/TransferOwnershipModal.tsx#L129
Forbidden non-null assertion
|
frontend_lint:
frontend/src/features/user/transfer-ownership/TransferOwnershipModal.tsx#L148
Forbidden non-null assertion
|
frontend_lint:
frontend/src/services/ApiService.ts#L91
Unexpected any. Specify a different type
|
backend_lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@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/
|
frontend_test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@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/
|
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
build-output
Expired
|
38 MB |
|