Skip to content

Fix global types

Fix global types #913

Triggered via pull request August 21, 2024 09:27
Status Failure
Total duration 2m 38s
Artifacts

workflow.yaml

on: pull_request
Forge Node LTS Matrix
0s
Forge Node LTS Matrix
Documentation - Error codes check
55s
Documentation - Error codes check
Matrix: lint
Matrix: Unit Tests
Matrix: Build and Run
Matrix: Functional tests
Matrix: Cluster Monkey Tests
Deployment Workflow  /  Build and deploy release on NPM.js
Deployment Workflow / Build and deploy release on NPM.js
Deployment Workflow  /  Documentation - Deploy
Deployment Workflow / Documentation - Deploy
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 36 warnings
Unit Tests (20): lib/core/backend/backend.ts#L24
Module '"/home/runner/work/kuzzle/kuzzle/lib/kuzzle/index"' has no default export. Did you mean to use 'import { Kuzzle } from "/home/runner/work/kuzzle/kuzzle/lib/kuzzle/index"' instead?
Unit Tests (20)
Process completed with exit code 2.
Unit Tests (16): lib/core/backend/backend.ts#L24
Module '"/home/runner/work/kuzzle/kuzzle/lib/kuzzle/index"' has no default export. Did you mean to use 'import { Kuzzle } from "/home/runner/work/kuzzle/kuzzle/lib/kuzzle/index"' instead?
Unit Tests (16)
Process completed with exit code 2.
Unit Tests (18)
The job was canceled because "_20" failed.
Documentation - Error codes check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint - Node.js LTS 18
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint - Node.js LTS 18: bin/.upgrades/lib/context.js#L65
Prefer for...of instead of Array.forEach
Lint - Node.js LTS 18: features/fixtures/mappings.js#L10
Expected object keys to be in ascending order. 'age' should be before 'name'
Lint - Node.js LTS 18: features/fixtures/mappings.js#L15
Expected object keys to be in ascending order. 'mtp-open-data' should be before 'nyc-open-data'
Lint - Node.js LTS 18: features/fixtures/mappings.js#L20
Expected object keys to be in ascending order. 'age' should be before 'name'
Lint - Node.js LTS 18: features/fixtures/permissions.js#L14
Expected object keys to be in ascending order. 'password' should be before 'username'
Lint - Node.js LTS 18: features/fixtures/permissions.js#L18
Expected object keys to be in ascending order. 'default-user' should be before 'test-admin'
Lint - Node.js LTS 18: features/fixtures/permissions.js#L25
Expected object keys to be in ascending order. 'password' should be before 'username'
Lint - Node.js LTS 18: features/step_definitions/auth-steps.js#L12
Expected object keys to be in ascending order. 'password' should be before 'username'
Lint - Node.js LTS 18: features/step_definitions/bulk-steps.js#L48
Expected object keys to be in ascending order. 'action' should be before 'controller'
Lint - Node.js LTS 18: features/step_definitions/bulk-steps.js#L50
Expected object keys to be in ascending order. 'collection' should be before 'index'
Lint - Node.js LTS 16
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint - Node.js LTS 16: bin/.upgrades/lib/context.js#L65
Prefer for...of instead of Array.forEach
Lint - Node.js LTS 16: features/fixtures/mappings.js#L10
Expected object keys to be in ascending order. 'age' should be before 'name'
Lint - Node.js LTS 16: features/fixtures/mappings.js#L15
Expected object keys to be in ascending order. 'mtp-open-data' should be before 'nyc-open-data'
Lint - Node.js LTS 16: features/fixtures/mappings.js#L20
Expected object keys to be in ascending order. 'age' should be before 'name'
Lint - Node.js LTS 16: features/fixtures/permissions.js#L14
Expected object keys to be in ascending order. 'password' should be before 'username'
Lint - Node.js LTS 16: features/fixtures/permissions.js#L18
Expected object keys to be in ascending order. 'default-user' should be before 'test-admin'
Lint - Node.js LTS 16: features/fixtures/permissions.js#L25
Expected object keys to be in ascending order. 'password' should be before 'username'
Lint - Node.js LTS 16: features/step_definitions/auth-steps.js#L12
Expected object keys to be in ascending order. 'password' should be before 'username'
Lint - Node.js LTS 16: features/step_definitions/bulk-steps.js#L48
Expected object keys to be in ascending order. 'action' should be before 'controller'
Lint - Node.js LTS 16: features/step_definitions/bulk-steps.js#L50
Expected object keys to be in ascending order. 'collection' should be before 'index'
Lint - Node.js LTS 20
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint - Node.js LTS 20: bin/.upgrades/lib/context.js#L65
Prefer for...of instead of Array.forEach
Lint - Node.js LTS 20: features/fixtures/mappings.js#L10
Expected object keys to be in ascending order. 'age' should be before 'name'
Lint - Node.js LTS 20: features/fixtures/mappings.js#L15
Expected object keys to be in ascending order. 'mtp-open-data' should be before 'nyc-open-data'
Lint - Node.js LTS 20: features/fixtures/mappings.js#L20
Expected object keys to be in ascending order. 'age' should be before 'name'
Lint - Node.js LTS 20: features/fixtures/permissions.js#L14
Expected object keys to be in ascending order. 'password' should be before 'username'
Lint - Node.js LTS 20: features/fixtures/permissions.js#L18
Expected object keys to be in ascending order. 'default-user' should be before 'test-admin'
Lint - Node.js LTS 20: features/fixtures/permissions.js#L25
Expected object keys to be in ascending order. 'password' should be before 'username'
Lint - Node.js LTS 20: features/step_definitions/auth-steps.js#L12
Expected object keys to be in ascending order. 'password' should be before 'username'
Lint - Node.js LTS 20: features/step_definitions/bulk-steps.js#L48
Expected object keys to be in ascending order. 'action' should be before 'controller'
Lint - Node.js LTS 20: features/step_definitions/bulk-steps.js#L50
Expected object keys to be in ascending order. 'collection' should be before 'index'
Unit Tests (20)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Unit Tests (16)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/