Skip to content

Server and UI directories type fix #6455

Server and UI directories type fix

Server and UI directories type fix #6455

Triggered via pull request December 29, 2024 16:55
Status Failure
Total duration 10m 28s
Artifacts

node.js.yml

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

Annotations

30 errors and 4 warnings
build (macos-latest, 20.x): server/src/swaggerOptions.ts#L1
Do not use "@ts-nocheck" because it alters compilation errors
build (macos-latest, 20.x): server/src/tests/routes/favorite.spec.ts#L18
Always prefer const x: T = { ... }
build (macos-latest, 20.x): server/src/tests/routes/item.spec.ts#L45
Always prefer const x: T = { ... }
build (macos-latest, 20.x): server/src/tests/routes/osm.spec.ts#L21
Always prefer const x: T = { ... }
build (macos-latest, 20.x): server/src/tests/routes/pack.spec.ts#L43
Always prefer const x: T = { ... }
build (macos-latest, 20.x): server/src/tests/routes/packTemplate.spec.ts#L47
Always prefer const x: T = { ... }
build (macos-latest, 20.x): server/src/tests/routes/template.spec.ts#L17
Always prefer const x: T = { ... }
build (macos-latest, 20.x): server/src/tests/routes/trip.spec.ts#L20
Always prefer const x: T = { ... }
build (macos-latest, 20.x)
Process completed with exit code 1.
build (ubuntu-latest, 20.x): server/src/swaggerOptions.ts#L1
Do not use "@ts-nocheck" because it alters compilation errors
build (ubuntu-latest, 20.x): server/src/tests/routes/favorite.spec.ts#L18
Always prefer const x: T = { ... }
build (ubuntu-latest, 20.x): server/src/tests/routes/item.spec.ts#L45
Always prefer const x: T = { ... }
build (ubuntu-latest, 20.x): server/src/tests/routes/osm.spec.ts#L21
Always prefer const x: T = { ... }
build (ubuntu-latest, 20.x): server/src/tests/routes/pack.spec.ts#L43
Always prefer const x: T = { ... }
build (ubuntu-latest, 20.x): server/src/tests/routes/packTemplate.spec.ts#L47
Always prefer const x: T = { ... }
build (ubuntu-latest, 20.x): server/src/tests/routes/template.spec.ts#L17
Always prefer const x: T = { ... }
build (ubuntu-latest, 20.x): server/src/tests/routes/trip.spec.ts#L20
Always prefer const x: T = { ... }
build (ubuntu-latest, 20.x)
Process completed with exit code 1.
build (windows-latest, 20.x): server/src/swaggerOptions.ts#L1
Do not use "@ts-nocheck" because it alters compilation errors
build (windows-latest, 20.x): server/src/tests/routes/favorite.spec.ts#L18
Always prefer const x: T = { ... }
build (windows-latest, 20.x): server/src/tests/routes/item.spec.ts#L45
Always prefer const x: T = { ... }
build (windows-latest, 20.x): server/src/tests/routes/osm.spec.ts#L21
Always prefer const x: T = { ... }
build (windows-latest, 20.x): server/src/tests/routes/pack.spec.ts#L43
Always prefer const x: T = { ... }
build (windows-latest, 20.x): server/src/tests/routes/packTemplate.spec.ts#L47
Always prefer const x: T = { ... }
build (windows-latest, 20.x): server/src/tests/routes/template.spec.ts#L17
Always prefer const x: T = { ... }
build (windows-latest, 20.x): server/src/tests/routes/trip.spec.ts#L20
Always prefer const x: T = { ... }
build (windows-latest, 20.x)
Process completed with exit code 1.
build (macos-latest, 20.x)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
build (ubuntu-latest, 20.x)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
build (windows-latest, 20.x)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
build (ubuntu-latest, 20.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636