Skip to content

fix: refactor openAI and claudeAI to use arrow functions and appConfig. #133

fix: refactor openAI and claudeAI to use arrow functions and appConfig.

fix: refactor openAI and claudeAI to use arrow functions and appConfig. #133

Triggered via push July 28, 2024 22:36
Status Success
Total duration 1m 29s
Artifacts

ci.yml

on: push
Matrix: ESLint
Matrix: Unit tests
Matrix: Prettier format
Deploy to Production
34s
Deploy to Production
Fit to window
Zoom out
Zoom in

Annotations

15 warnings
Unit tests (22.x)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, 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/
ESLint (22.x)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, 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/
ESLint (22.x): src/ai.ts#L73
Unexpected any. Specify a different type
ESLint (22.x): src/ai.ts#L100
Unexpected any. Specify a different type
ESLint (22.x): src/config.ts#L11
Unexpected any. Specify a different type
ESLint (22.x): src/config.ts#L16
Unexpected any. Specify a different type
ESLint (22.x): src/config.ts#L22
Unexpected any. Specify a different type
ESLint (22.x): src/config.ts#L27
Unexpected any. Specify a different type
ESLint (22.x): src/handler.test.ts#L1
'OpenAI' is defined but never used. Allowed unused vars must match /^_/u
ESLint (22.x): src/handler.test.ts#L19
Unexpected any. Specify a different type
ESLint (22.x): src/handler.test.ts#L43
Unexpected any. Specify a different type
ESLint (22.x): src/handler.test.ts#L88
Unexpected any. Specify a different type
Prettier format (22.x)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, stefanzweifel/git-auto-commit-action@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Deploy to Production
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, docker/setup-buildx-action@v2, docker/login-action@v2, docker/build-push-action@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Deploy to Production
Skip setting environment url as environment 'production' may contain secret.