Skip to content

chore: create-cli cleanup #1868

chore: create-cli cleanup

chore: create-cli cleanup #1868

Triggered via pull request August 1, 2023 15:42
Status Failure
Total duration 1m 32s
Artifacts

test.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 10 warnings
loadChecklyConfig() › config TS file should export an object: packages/cli/src/services/util.ts#L62
Error loading file /home/runner/work/checkly-cli/checkly-cli/packages/cli/src/services/__tests__/fixtures/configs/good-config.ts at loadTsFile (src/services/util.ts:62:15) at async loadChecklyConfig (src/services/checkly-config-loader.ts:38:18) at async Object.<anonymous> (src/services/__tests__/checkly-config-loader.spec.ts:38:29)
loadChecklyConfig() › config from absolute path: packages/cli/src/services/util.ts#L62
Error loading file /home/runner/work/checkly-cli/checkly-cli/packages/cli/src/services/__tests__/fixtures/configs/good-config.ts at loadTsFile (src/services/util.ts:62:15) at async loadChecklyConfig (src/services/checkly-config-loader.ts:38:18) at async Object.<anonymous> (src/services/__tests__/checkly-config-loader.spec.ts:70:29)
test - ubuntu-latest
Process completed with exit code 1.
test - windows-latest
The job was canceled because "ubuntu-latest" failed.
test - windows-latest
The operation was canceled.
lint: packages/cli/e2e/__tests__/fixtures/deploy-esm-project/api.check.mjs#L3
'api' is assigned a value but never used
lint: packages/cli/e2e/__tests__/fixtures/esm-module/checks.check.ts#L3
'browserCheck' is assigned a value but never used
lint: packages/cli/e2e/__tests__/fixtures/test-project/src/__checks__/group.check.ts#L22
'browserCheck' is assigned a value but never used
lint: packages/cli/e2e/__tests__/fixtures/test-project/src/__checks__/secret.check.ts#L3
'browserCheck' is assigned a value but never used
lint: packages/cli/e2e/__tests__/fixtures/test-project/src/services/api/api.check.ts#L4
'apiCheck' is assigned a value but never used
lint: packages/cli/e2e/__tests__/fixtures/test-project/src/services/api/api.check.ts#L21
'skipSslApiCheck' is assigned a value but never used
lint: packages/cli/e2e/__tests__/fixtures/test-project/src/services/api/typo.checkz.ts#L3
'apiCheck' is assigned a value but never used
lint: packages/cli/src/commands/switch.ts#L3
'prompts' is defined but never used
lint: packages/cli/src/commands/test.ts#L317
Forbidden non-null assertion