Skip to content

currently testing is set up for one file - others are temporarily tur… #1836

currently testing is set up for one file - others are temporarily tur…

currently testing is set up for one file - others are temporarily tur… #1836

Triggered via push October 17, 2024 17:25
Status Failure
Total duration 55s
Artifacts

ci-workflow.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 21 warnings
tests/Course.test.ts: server/src/ai/ai.functions.ts#L21
Error: The OPENAI_API_KEY environment variable is missing or empty; either provide it, or instantiate the OpenAI client with an apiKey option, like new OpenAI({ apiKey: 'My API Key' }). ❯ new OpenAI ../node_modules/openai/src/index.ts:122:13 ❯ src/ai/ai.functions.ts:21:16 ❯ src/ai/ai.router.ts:2:31
build
Process completed with exit code 1.
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build: client/src/modules/Course/Components/Course.tsx#L29
'PageStatus' is already declared in the upper scope on line 29 column 6
build: client/src/modules/Course/Components/Course.tsx#L29
'PageStatus' is defined but never used
build: client/src/modules/Course/Components/Course.tsx#L30
'Loading' is already declared in the upper scope on line 12 column 8
build: client/src/modules/Course/Components/Course.tsx#L30
'Loading' is defined but never used
build: client/src/modules/Course/Components/Course.tsx#L31
'Success' is defined but never used
build: client/src/modules/Course/Components/Course.tsx#L32
'Error' is defined but never used
build: client/src/modules/Course/Components/Course.tsx#L68
'number' is already declared in the upper scope on line 36 column 11
build: client/src/modules/Course/Components/Course.tsx#L68
'subject' is already declared in the upper scope on line 36 column 19
build: client/src/modules/Profile/Component/Profile.tsx#L84
'reviews' is already declared in the upper scope on line 24 column 10
build: client/src/modules/Profile/Component/Profile.tsx#L85
'pendingReviews' is already declared in the upper scope on line 25 column 10
build: client/src/auth/auth_utils.ts#L68
'redirectFrom' is already declared in the upper scope on line 48 column 39
build: client/src/modules/Admin/Components/Admin.tsx#L30
'setAddSemester' is assigned a value but never used
build: client/src/modules/Admin/Components/Admin.tsx#L30
'setAddSemester' is assigned a value but never used
build: client/src/modules/Admin/Components/Admin.tsx#L264
'doubleClick' is already declared in the upper scope on line 25 column 10
build: client/src/modules/Admin/Components/Admin.tsx#L296
'token' is already declared in the upper scope on line 33 column 23
build: client/src/modules/Admin/Components/AdminReview.tsx#L39
'review' is already declared in the upper scope on line 21 column 24
build: client/src/modules/Admin/Components/ManageAdminModal.tsx#L29
'admins' is already declared in the upper scope on line 16 column 12
build: client/src/modules/Course/Components/Course.tsx#L29
'PageStatus' is already declared in the upper scope on line 29 column 6
build: client/src/modules/Course/Components/Course.tsx#L29
'PageStatus' is defined but never used
build: client/src/modules/Course/Components/Course.tsx#L30
'Loading' is already declared in the upper scope on line 12 column 8