Skip to content

refactor: standarize API Client #231

refactor: standarize API Client

refactor: standarize API Client #231

Triggered via pull request April 10, 2024 10:43
Status Failure
Total duration 2m 37s
Artifacts 1

continuous-integration.yml

on: pull_request
Matrix: Continuous Integration / Run CI
Continuous Integration  /  GitGuardian scan
16s
Continuous Integration / GitGuardian scan
SonarCloud API Client  /  Run Sonarcloud check
SonarCloud API Client / Run Sonarcloud check
SonarCloud SDK  /  Run Sonarcloud check
SonarCloud SDK / Run Sonarcloud check
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 23 warnings
Continuous Integration / Run CI (18): packages/api-client/src/types/api/index.ts#L1
Replace `'./endpoints'` with `"./endpoints"`
Continuous Integration / Run CI (18)
Process completed with exit code 1.
Continuous Integration / Run CI (16)
The job was canceled because "_18" failed.
Continuous Integration / Run CI (16): packages/api-client/src/types/api/index.ts#L1
Replace `'./endpoints'` with `"./endpoints"`
Continuous Integration / Run CI (16)
The operation was canceled.
Continuous Integration / Run CI (18)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Continuous Integration / Run CI (18): packages/api-client/jest.config.ts#L1
'@vue-storefront/jest-config' should be listed in the project's dependencies. Run 'npm i -S @vue-storefront/jest-config' to add it
Continuous Integration / Run CI (18): packages/api-client/possible-types.js#L1
Require statement not part of import statement
Continuous Integration / Run CI (18): packages/api-client/possible-types.js#L2
'cross-fetch' should be listed in the project's dependencies, not devDependencies
Continuous Integration / Run CI (18): packages/api-client/possible-types.js#L2
Require statement not part of import statement
Continuous Integration / Run CI (18): packages/api-client/possible-types.js#L3
Require statement not part of import statement
Continuous Integration / Run CI (18): packages/api-client/rollup.config.js#L1
'@vue-storefront/rollup-config' should be listed in the project's dependencies. Run 'npm i -S @vue-storefront/rollup-config' to add it
Continuous Integration / Run CI (18): packages/api-client/src/api/customerOrders/index.ts#L42
'customerOrders' is already declared in the upper scope on line 23 column 23
Continuous Integration / Run CI (18): packages/api-client/src/api/reviews/index.ts#L33
'reviews' is already declared in the upper scope on line 17 column 23
Continuous Integration / Run CI (18): packages/api-client/src/api/wishlist/index.ts#L30
'wishlist' is already declared in the upper scope on line 13 column 23
Continuous Integration / Run CI (18): packages/api-client/src/types/context/index.ts#L5
An interface declaring no members is equivalent to its supertype
Continuous Integration / Run CI (18)
Detected 2 circular dependencies between the files
Continuous Integration / Run CI (16)
Detected 2 circular dependencies between the files
Continuous Integration / Run CI (16): packages/api-client/jest.config.ts#L1
'@vue-storefront/jest-config' should be listed in the project's dependencies. Run 'npm i -S @vue-storefront/jest-config' to add it
Continuous Integration / Run CI (16): packages/api-client/possible-types.js#L1
Require statement not part of import statement
Continuous Integration / Run CI (16): packages/api-client/possible-types.js#L2
'cross-fetch' should be listed in the project's dependencies, not devDependencies
Continuous Integration / Run CI (16): packages/api-client/possible-types.js#L2
Require statement not part of import statement
Continuous Integration / Run CI (16): packages/api-client/possible-types.js#L3
Require statement not part of import statement
Continuous Integration / Run CI (16): packages/api-client/rollup.config.js#L1
'@vue-storefront/rollup-config' should be listed in the project's dependencies. Run 'npm i -S @vue-storefront/rollup-config' to add it
Continuous Integration / Run CI (16): packages/api-client/src/api/customerOrders/index.ts#L42
'customerOrders' is already declared in the upper scope on line 23 column 23
Continuous Integration / Run CI (16): packages/api-client/src/api/reviews/index.ts#L33
'reviews' is already declared in the upper scope on line 17 column 23
Continuous Integration / Run CI (16): packages/api-client/src/api/wishlist/index.ts#L30
'wishlist' is already declared in the upper scope on line 13 column 23
Continuous Integration / Run CI (16): packages/api-client/src/types/context/index.ts#L5
An interface declaring no members is equivalent to its supertype

Artifacts

Produced during runtime
Name Size
coverage-Linux-26b1c4920fcce8f71c4c1974907261d9a71c0317 Expired
3.64 MB