Skip to content

Add user to the staff list on the frontend instead of the backend #523

Add user to the staff list on the frontend instead of the backend

Add user to the staff list on the frontend instead of the backend #523

Triggered via pull request November 18, 2023 22:41
Status Failure
Total duration 1m 58s
Artifacts

pr.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 6 warnings
type-check: src/components/subgoal/Subgoal-Assignment-Modal.tsx#L146
A type predicate's type must be assignable to its parameter's type.
type-check
Process completed with exit code 2.
test
Process completed with exit code 1.
type-check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint: src/components/subgoal/Subgoal.tsx#L1
'trpc' is defined but never used
lint: src/components/uploadPicture/uploadImage.tsx#L120
Using `<img>` could result in slower LCP and higher bandwidth. Use `<Image />` from `next/image` instead to utilize Image Optimization. See: https://nextjs.org/docs/messages/no-img-element
lint: src/components/uploadedFile/uploadedFile.tsx#L26
Using `<img>` could result in slower LCP and higher bandwidth. Use `<Image />` from `next/image` instead to utilize Image Optimization. See: https://nextjs.org/docs/messages/no-img-element
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/